Adapters and tools for lintrunner
Project description
lintrunner-adapters
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
Release history Release notifications | RSS feed
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.2.0.tar.gz
(18.3 kB
view details)
Built Distribution
File details
Details for the file lintrunner_adapters-0.2.0.tar.gz
.
File metadata
- Download URL: lintrunner_adapters-0.2.0.tar.gz
- Upload date:
- Size: 18.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 577c4acca1e48402a386979cc3f2b1330516776b6cfb62786aef0e4fbff24e0b |
|
MD5 | 599eae4accaa57a470fd0c55e0412b74 |
|
BLAKE2b-256 | 24fa54793d32273a15b6bb6b3cb05327873867b9d4e88f2704c0f59cdb6f02a8 |
File details
Details for the file lintrunner_adapters-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: lintrunner_adapters-0.2.0-py3-none-any.whl
- Upload date:
- Size: 36.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a36ca95ddf5687d91d41d95f1bd7db15cf90b9624074b60a6dbf3747147ffbe |
|
MD5 | bec804c984b1420f08a50705ecb8c77e |
|
BLAKE2b-256 | 4ef33f2dac28c7bf383cde14a4ac7dc325237a68d66ef1d406bbf7d96dd9bd9f |