Created
November 1, 2022 12:42
-
-
Save kirill-shtrykov/c1bea7e5e2d6f9b120a3e2e66d5d0586 to your computer and use it in GitHub Desktop.
My default Pre commit config for Python projects
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
repos: | |
- repo: https://github.com/pre-commit/pre-commit-hooks | |
rev: v2.3.0 | |
hooks: | |
- id: check-yaml | |
- id: end-of-file-fixer | |
- id: trailing-whitespace | |
- repo: https://github.com/asottile/reorder_python_imports | |
rev: v3.8.2 | |
hooks: | |
- id: reorder-python-imports |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment