Skip to content

Commit 87a08c5

Browse files
Fix pre-commit exclusions
1 parent ac607d6 commit 87a08c5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
fail_fast: true
2-
verbose: true
32

43
repos:
54
# checks for secrets via rules (gitleaks.toml)
@@ -43,8 +42,10 @@ repos:
4342
- id: pretty-format-json
4443
# https://pre-commit.com/#regular-expressions
4544
exclude: |
46-
^launch.json$
47-
^settings.json$
45+
(?x)^(
46+
.vscode/launch.json|
47+
.vscode/settings.json
48+
)$
4849
args: ['--autofix', '--indent=2', '--no-sort-keys']
4950
- id: requirements-txt-fixer
5051
# - id: trailing-whitespace

0 commit comments

Comments
 (0)