lintrunner-adapters
Adapters and tools for lintrunner.
lintrunner-adapters currently supports popular Python / Rust / C++ linters and formatters like flake8, pylint, mypy, black, ruff(with auto-fix support), rustfmt, clippy, clang-format and many more - and the list is growing. Contributions welcome!
To see the list of supported linters and formatters, run lintrunner_adapters run.
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.
GitHub action
https://github.com/justinchuby/lintrunner-action
How to
Use lintrunner_adapters with lintrunner in your project
Refer to the .lintrunner.toml config file in this repo and example configs for each adapter under examples/adapters.
Write lint config in .lintrunner.toml
See 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.
Run lintrunner in CI and get Github code scanning messages in your PRs
Option 1
Use a GitHub Action: lintrunner-action
Option 2
Run it directly in the workflow. See .github/workflows/ci.yml.
Metadata
Release files for lintrunner-adapters 0.14.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| lintrunner_adapters-0.14.1.tar.gz | 37.3 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lintrunner_adapters-0.14.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 110.4 kB
Release files / lintrunner_adapters-0.14.1.tar.gz
| Download URL | lintrunner_adapters-0.14.1.tar.gz |
|---|---|
| Size | 37.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5bae960e99ff71d1a2bf4a51b6bf6dd066f3170627dcadb0802eb70237af182d
|
|
BLAKE2b-256 checksum How to use checksums |
2810cad8e1430cafb25a3f38d79f1324af354f44af6397d3b9e6a63fa98eba9a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.
Transparency logRelease files / lintrunner_adapters-0.14.1-py3-none-any.whl
| Download URL | lintrunner_adapters-0.14.1-py3-none-any.whl |
|---|---|
| Size | 73.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d59e6e2b785f2ce05ca1fb12bb5c549b58fbc17d565b037c8de434c9b1616643
|
|
BLAKE2b-256 checksum How to use checksums |
e8ec9375febbc4b26af5c3e4691bef09e988fc7dacc35e9e1ef4cd5fef86b4e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.
Transparency logSecurity for lintrunner-adapters 0.14.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for lintrunner_adapters-0.14.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.