Skip to content

Commit 545ecc0

Browse files
Restrict flake8 hook to .rst files
1 parent fea412a commit 545ecc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ repos:
5050
rev: 3.9.2
5151
hooks:
5252
- id: flake8
53+
files: \.rst$
5354
additional_dependencies: [
5455
'flake8-rst==0.8.0',
5556
'flake8-bugbear==20.1.4',
5657
'flake8-logging-format==0.6.0',
5758
'flake8-implicit-str-concat==0.2.0',
5859
]
59-
stages: [manual]
6060

6161
# We use the Python version instead of the original version which seems to require Docker
6262
# https://github.com/koalaman/shellcheck-precommit

0 commit comments

Comments
 (0)