Run static checks with pre-commit
masterThe project uses pre-commit for static checks. All changes are checked on CI, and passing checks are required for PR acceptance. You can run these checks locally:
- Install git hooks: To automatically run checks during git commit operations:
pre-commit install - Run on staged files: To run checks only on files currently staged in git:
pre-commit run - Run on all files: To run all checks against every file in the repository:
pre-commit run --all-files
pre-commit install
pre-commit run
pre-commit run --all-files