Created
September 5, 2023 11:46
-
-
Save whybfq/03c0812438364b30f4d21db474373f16 to your computer and use it in GitHub Desktop.
python pre-commit file
This file contains hidden or 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
| fail_fast: true | |
| repos: | |
| - repo: https://github.com/timothycrosley/isort | |
| rev: 5.7.0 | |
| hooks: | |
| - id: isort | |
| additional_dependencies: [toml] | |
| - repo: https://github.com/psf/black | |
| rev: 20.8b1 | |
| hooks: | |
| - id: black | |
| args: [--config=./pyproject.toml] | |
| - repo: https://github.com/pre-commit/pre-commit-hooks | |
| rev: v2.4.0 | |
| hooks: | |
| - id: flake8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment