Skip to main content

Adapters and tools for lintrunner

Project description

lintrunner-adapters

CI PyPI version

Adapters for lintrunner

Install

pip install lintrunner-adapters

Usage

Usage: python -m lintrunner_adapters [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  run       Run an adapter.
  to-sarif  Convert the output of lintrunner json (INPUT) to SARIF (OUTPUT).

Use lintrunner_adapters run to see a list of adapters available.

How to

Write lint config in .lintrunner.toml

https://docs.rs/lintrunner/latest/lintrunner/lint_message/struct.LintMessage.html

Create a new adapter

Use lintrunner_adapters/adapters/pylint_linter.py as an example.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lintrunner_adapters-0.1.7.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

lintrunner_adapters-0.1.7-py3-none-any.whl (36.3 kB view details)

Uploaded Python 3

File details

Details for the file lintrunner_adapters-0.1.7.tar.gz.

File metadata

  • Download URL: lintrunner_adapters-0.1.7.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for lintrunner_adapters-0.1.7.tar.gz
Algorithm Hash digest
SHA256 13f6ca380efddb0f268610fb0f42d4b89660dcfb49eca70352fdc9a139ee5c24
MD5 1d72d83a182c3db85d4f6c1eb4a835a9
BLAKE2b-256 95da99df28bfd1675b18bca717d82725b4881d0f7576cdd95e3ac49f8e61df82

See more details on using hashes here.

File details

Details for the file lintrunner_adapters-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for lintrunner_adapters-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 a1c7f7aa39dc4a4f4754c6f73c9128aa980b25b809d04d43dee2066be5353ec1
MD5 fecf0a3044ab857a7ddf418d9a198d27
BLAKE2b-256 26b99a07845b1b511e47cc150e8de44290738afc971730252cbd46803bf39e2d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page