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.5.0.tar.gz
(20.6 kB
view details)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3dbab3fce850ea13902f878e86a36d6a2a8a853614f6c2a668e3c6342bb16498 |
|
MD5 | b59a4bc066604d400e9cd278a99e6b0a |
|
BLAKE2b-256 | bc62fcece8897879df6cd44f0c3f789f32123aa1568d4d39ec598ef542aa21b3 |
File details
Details for the file lintrunner_adapters-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: lintrunner_adapters-0.5.0-py3-none-any.whl
- Upload date:
- Size: 42.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69d53c3e9b714c2260946f3ddaf905562cebfd072eb8cddbd9c0a1aaccaaae2d |
|
MD5 | 94f4d6d80b2c7cd176a00f123061333b |
|
BLAKE2b-256 | e56f0536640c0fa3c7e50c90b02941c5b5a03d6bc27c439bdfe84c6ca00f5ec2 |