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_config/struct.LintConfig.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.4.0.tar.gz (19.6 kB view details)

Uploaded Source

Built Distribution

lintrunner_adapters-0.4.0-py3-none-any.whl (40.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lintrunner_adapters-0.4.0.tar.gz
  • Upload date:
  • Size: 19.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for lintrunner_adapters-0.4.0.tar.gz
Algorithm Hash digest
SHA256 1f1a3a968af946430412f6127f2e6c96c028ab0ca9333bd07d7d350b48dd55f4
MD5 e4850e69d9aa02907dc6f7ea28f0c32e
BLAKE2b-256 6b7a62f606550b0d97a7f8e226967e344d43bfd2b58b648402588fe309fd204d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lintrunner_adapters-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e38f3062c64d82a990eaa2e0146a027fa48918fd9903cbc6b35519d1eff35db0
MD5 251e797937c4768792ffb73e277ee6dd
BLAKE2b-256 3a3a500923e86a64f3f6f77f0db7c9bd1afa2ae95968a39bc8dedc5b6a0daa60

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