Getting Started
Install
To install precli:
Usage
Run precli on a single test example:
Run precli on a single test example, showing results in SARIF format:
Run precli on a single test example, showing results in plain format:
Run precli on a single test example, showing results in markdown format:
Run precli against all the python test examples:
Run precli against an entire GitHub repository:
Run precli against an entire GitHub repository and output the results in markdown format to Gist. Note: this requires a GITHUB_TOKEN environment variable set to a valid GitHub token value:
For more usage information:
Version control integration
Use pre-commit. Once you have it installed, add
this to the .pre-commit-config.yaml in your repository
(be sure to update rev to point to a real git tag/revision!):
Then run pre-commit install and you're ready to go.