Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ca0dab1

Browse files
committed
Deduplicate exclude
1 parent 8f3c732 commit ca0dab1

File tree

1 file changed

+10
-20
lines changed

1 file changed

+10
-20
lines changed

.pre-commit-config.yaml

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,33 +3,23 @@ ci:
33
autoupdate_schedule: 'quarterly'
44
repos:
55
- repo: https://github.com/pre-commit/pre-commit-hooks
6+
exclude: |
7+
(?x)^(
8+
extern|
9+
lib/matplotlib/mpl-data|
10+
doc/devel/gitwash|
11+
doc/users/prev|
12+
doc/api/prev|
13+
lib/matplotlib/tests/tinypages
14+
)
15+
exclude_types: [svg]
616
rev: v4.0.1
717
hooks:
818
- id: check-added-large-files
919
- id: check-docstring-first
1020
- id: end-of-file-fixer
11-
exclude: |
12-
(?x)^(
13-
extern|
14-
lib/matplotlib/mpl-data|
15-
doc/devel/gitwash|
16-
doc/users/prev|
17-
doc/api/prev|
18-
lib/matplotlib/tests/tinypages
19-
)
20-
exclude_types: [svg]
2121
- id: mixed-line-ending
2222
- id: trailing-whitespace
23-
exclude: |
24-
(?x)^(
25-
extern|
26-
lib/matplotlib/mpl-data|
27-
doc/devel/gitwash|
28-
doc/users/prev|
29-
doc/api/prev|
30-
lib/matplotlib/tests/tinypages
31-
)
32-
exclude_types: [svg]
3323
- repo: https://github.com/pycqa/flake8
3424
rev: 3.9.2
3525
hooks:

0 commit comments

Comments
 (0)