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

Uploaded Source

Built Distribution

lintrunner_adapters-0.3.0-py3-none-any.whl (37.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for lintrunner_adapters-0.3.0.tar.gz
Algorithm Hash digest
SHA256 63fb43733fd02ada3eee1fe25369a4b2d857a4eee556d97b310cd37cc1710d8a
MD5 4635987668e7331ea71acecf1ea2b305
BLAKE2b-256 1f7811b7993ba4640881494e5dbdfc8337203a5bcc1334fe54f4d59181d49dc1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lintrunner_adapters-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3e57d54bb06b929d6df7d269c9812f654898ffcfe4d2101480dc5313fcdcb280
MD5 4a687ba9f9849105a300b326b9c4ae8c
BLAKE2b-256 462840494d306db15d6c509a583fe36404ccea77a36d2bf6fbbb1de9b2944f57

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