Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 695 Bytes

pre-commit-hooks.md

File metadata and controls

15 lines (13 loc) · 695 Bytes

Pre-commit hooks

This file goes through all hooks installed and details what it does.

hook description
check-yaml format YAML files
end-of-file-fixer add a line return at the end of the file
trailing-whitespace remove useless space in files
requirements-txt-fixer reorder packages in requirements.txt
reorder-python-imports reorder packages import in python files
interrogate checks if functions, modules or classes are documented
black apply black linter on each python file commited
flake8 show flake8 rules not respected
radon checks functions complexity