Created
March 6, 2023 15:17
-
-
Save iKlotho/e396dbfd37604be98fb3c8bd485d8943 to your computer and use it in GitHub Desktop.
pre-commit python
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-ast | |
- id: check-builtin-literals | |
- id: check-docstring-first | |
- id: check-merge-conflict | |
- id: check-yaml | |
- id: check-toml | |
- id: debug-statements | |
- id: end-of-file-fixer | |
- id: trailing-whitespace | |
- repo: https://github.com/pycqa/isort | |
rev: 5.12.0 | |
hooks: | |
- id: isort | |
name: isort (python) | |
- repo: https://github.com/asottile/pyupgrade | |
rev: v3.3.1 | |
hooks: | |
- id: pyupgrade | |
args: ["--exit-zero-even-if-changed", "--py310-plus"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment