Since introduction of ruff
, we no longer need to maintain a consistently versioned bundle of plugins.
LintLizard helps maintaining great and consistent code quality across all Python-based projects at Close, making it easy to install and run exact same versions of code checking tools with a single command.
(Interested in working on projects like this? Close is looking for great engineers to join our team)
Set up dependabot. See example in this repo in .github/dependabot.yml
Make a separate requirements_lint.txt
that contains lintlizard==0.0.3
(with the latest release version).
Configure individual linters. Use setup.cfg
and pyproject.toml
from this repo as examples.
In your CI system, have a separate job that executes something like this:
pip install -r requirements_lint.txt
lintlizard
If LintLizard's requirements intersect with your production, use pip's constraints feature:
pip install -c your_requirements.txt -r requirements_lint.txt