-
-
Save 4383/6e96c836bb1b0e1e0e599a5106f43f1a to your computer and use it in GitHub Desktop.
Patch flake8-hacking inconsistences
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
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml | |
index 9d94556..66a040f 100644 | |
--- a/.pre-commit-config.yaml | |
+++ b/.pre-commit-config.yaml | |
@@ -27,9 +27,13 @@ repos: | |
- id: debug-statements | |
- id: check-yaml | |
files: .*\.(yaml|yml)$ | |
- - repo: https://gitlab.com/pycqa/flake8 | |
- rev: 181bb46098dddf7e2d45319ea654b4b4d58c2840 # 3.8.3 | |
+ - repo: local | |
hooks: | |
- id: flake8 | |
+ name: flake8 | |
additional_dependencies: | |
- hacking>=3.0.1,<3.1.0 | |
+ language: python | |
+ entry: flake8 | |
+ files: '^.*\.py$' | |
+ exclude: '^(doc|releasenotes|tools)/.*$' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment