Skip to content

Commit 1dbcb4b

Browse files
Armavicavandalt
authored andcommitted
Enable pygrep-hooks
1 parent b8596de commit 1dbcb4b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.pre-commit-config.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,19 @@ repos:
1616
- id: requirements-txt-fixer
1717
exclude: ^requirements-dev\.txt$
1818
- id: trailing-whitespace
19+
- repo: https://github.com/pre-commit/pygrep-hooks
20+
rev: v1.10.0
21+
hooks:
22+
- id: python-check-blanket-noqa
23+
- id: python-check-blanket-type-ignore
24+
- id: python-check-mock-methods
25+
# - id: python-no-eval # gets confused with all the `.eval()`
26+
- id: python-no-log-warn
27+
- id: python-use-type-annotations
28+
- id: rst-backticks
29+
- id: rst-directive-colons
30+
- id: rst-inline-touching-normal
31+
- id: text-unicode-replacement-char
1932
- repo: https://github.com/citation-file-format/cffconvert
2033
rev: 054bda51dbe278b3e86f27c890e3f3ac877d616c
2134
hooks:

0 commit comments

Comments
 (0)