Skip to content

Commit 245cc90

Browse files
committed
Make small corrections to the exclude: list
1 parent 74580b0 commit 245cc90

1 file changed

Lines changed: 12 additions & 14 deletions

File tree

.pre-commit-config.yaml

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,24 +22,22 @@ default_language_version:
2222
default_stages:
2323
- pre-commit
2424

25+
# Note: these are Python regular expressions matched with re.search.
2526
exclude: |
2627
(?x)^(
27-
\.([^/]*cache/.*) |
28-
__pycache__/.* |
29-
.*\.pytest_cache/ |
28+
.*\.egg-info/.* |
3029
.*\.h5 |
31-
\.coverage(\..*)? |
32-
.*\.cover |
30+
.*\.ipynb_checkpoints(/.*)? |
3331
.*\.log |
34-
\.env |
35-
\.venv |
36-
env/ |
37-
venv/ |
38-
ENV/ |
39-
\.ipynb_checkpoints |
40-
docs/_build/ |
41-
.*\.egg-info/ |
42-
.*\.out
32+
.*\.out |
33+
.*\.pytest_cache/.* |
34+
.*__pycache__/.* |
35+
.env/.* |
36+
.venv/.* |
37+
\.([^/]*cache/.*) |
38+
\.coverage(\..*)? |
39+
docs/_build/.* |
40+
venv/.*
4341
)$
4442
4543
fail_fast: true

0 commit comments

Comments
 (0)