Last active
April 28, 2024 20:57
-
-
Save pybites/929596b81b619ce3c115607d045af718 to your computer and use it in GitHub Desktop.
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: v4.0.1 | |
hooks: | |
- id: check-yaml | |
- id: end-of-file-fixer | |
- id: trailing-whitespace | |
- id: debug-statements | |
- repo: https://github.com/pycqa/flake8 | |
rev: 3.9.2 | |
hooks: | |
- id: flake8 | |
additional_dependencies: ["flake8-bandit", "flake8-bugbear"] | |
- repo: https://github.com/pycqa/isort | |
rev: 5.9.3 | |
hooks: | |
- id: isort | |
args: ["--profile", "black", "--filter-files"] | |
- repo: https://github.com/psf/black | |
rev: 21.7b0 | |
hooks: | |
- id: black | |
language_version: python3 | |
- repo: https://github.com/asottile/pyupgrade | |
rev: v2.23.1 | |
hooks: | |
- id: pyupgrade |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, would be good to use on your project. What do you mean poetry vs pip to avoid conflicts? What kind of conflicts. You could add it as a dev dependency with poetry, seems -D is deprecated and you can use the group switch: