| name | code-quality |
|---|---|
| description | Instructions for running code quality checks and maintaining standards in the Python-Template project. |
This skill provides instructions for running code quality checks and maintaining standards in the Python-Template project.
Use the following make targets to ensure code quality:
make fmt: Runs theruffformatter and formats JSON files.make ruff: Runs therufflinter to catch common errors and style issues.make vulture: Searches for dead code across the project.make ty: Runs thetytype checker to ensure type safety.make ci: Runs all of the above checks (ruff,vulture,import_lint,ty,docs_lint,lint_links,check_deps,file_len_check) in sequence.
- Before Committing: Always run
make fmtandmake ruff. - Major Changes: Run
make cito ensure no regressions in types or dead code. - Continuous Integration: These checks are enforced in the CI pipeline. Ensure all pass before opening a PR.