Skip to content

Instantly share code, notes, and snippets.

@kirill-shtrykov
Created November 1, 2022 12:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kirill-shtrykov/c1bea7e5e2d6f9b120a3e2e66d5d0586 to your computer and use it in GitHub Desktop.
Save kirill-shtrykov/c1bea7e5e2d6f9b120a3e2e66d5d0586 to your computer and use it in GitHub Desktop.
My default Pre commit config for Python projects
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