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

Uploaded Source

Built Distribution

lintrunner_adapters-0.1.6-py3-none-any.whl (35.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lintrunner_adapters-0.1.6.tar.gz
  • Upload date:
  • Size: 17.8 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.6.tar.gz
Algorithm Hash digest
SHA256 c7a07a8283ecf15c1e990340e7083ee6ac1fcf90d6914eaf5bccceb80393ad4c
MD5 b72947378b203e9d348ece87e1e5a840
BLAKE2b-256 861375964d654a184142fc757eab03c1ef112aa3813519996e975fbed91974c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lintrunner_adapters-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 00601742a24904a9075c92a698d24c79b14239e47ea482eae56627e7bc08786e
MD5 923223e2ba5f1cec1a5610363b962033
BLAKE2b-256 f4d57f38776133f8c6c580c49607214cbcb5b9776fba2f3b7e1115995b6d9015

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