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.5.0.tar.gz (20.6 kB view details)

Uploaded Source

Built Distribution

lintrunner_adapters-0.5.0-py3-none-any.whl (42.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lintrunner_adapters-0.5.0.tar.gz
  • Upload date:
  • Size: 20.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.5.0.tar.gz
Algorithm Hash digest
SHA256 3dbab3fce850ea13902f878e86a36d6a2a8a853614f6c2a668e3c6342bb16498
MD5 b59a4bc066604d400e9cd278a99e6b0a
BLAKE2b-256 bc62fcece8897879df6cd44f0c3f789f32123aa1568d4d39ec598ef542aa21b3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lintrunner_adapters-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 69d53c3e9b714c2260946f3ddaf905562cebfd072eb8cddbd9c0a1aaccaaae2d
MD5 94f4d6d80b2c7cd176a00f123061333b
BLAKE2b-256 e56f0536640c0fa3c7e50c90b02941c5b5a03d6bc27c439bdfe84c6ca00f5ec2

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