Skip to content

Commit 2c751df

Browse files
Exclusions w/regex
1 parent 1fdd0ce commit 2c751df

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.pre-commit-config.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
fail_fast: true
2+
verbose: true
3+
14
repos:
25
# checks for secrets via rules (gitleaks.toml)
36
- repo: https://github.com/zricethezav/gitleaks
@@ -12,10 +15,10 @@ repos:
1215
rev: 3.9.2
1316
hooks:
1417
- id: flake8
15-
- repo: https://github.com/timothycrosley/isort
16-
rev: 5.10.1
17-
hooks:
18-
- id: isort
18+
# - repo: https://github.com/timothycrosley/isort
19+
# rev: 5.10.1
20+
# hooks:
21+
# - id: isort
1922
- repo: https://github.com/pre-commit/pre-commit-hooks
2023
rev: v4.3.0
2124
hooks:
@@ -38,6 +41,9 @@ repos:
3841
- id: mixed-line-ending
3942
- id: name-tests-test
4043
- id: pretty-format-json
44+
# https://pre-commit.com/#regular-expressions
45+
exclude: |
46+
^settings.json$
4147
args: ['--autofix', '--indent=2', '--no-sort-keys']
4248
- id: requirements-txt-fixer
4349
# - id: trailing-whitespace

0 commit comments

Comments
 (0)