Skip to content

Commit f68956c

Browse files
committed
Remove bdai monorepo regexs from pre-commit, skips all things in docs directory for end of file and white space checks.
1 parent d322f4e commit f68956c

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,15 @@ repos:
1919
hooks:
2020
- id: end-of-file-fixer
2121
exclude: |
22-
(?x)^(
23-
docs/.*
24-
)$
22+
(?x)(
23+
^docs/
24+
)
2525
- id: debug-statements # Ensure we don't commit `import pdb; pdb.set_trace()`
26-
exclude: |
27-
(?x)^(
28-
docker/ros/web/static/.*|
29-
)$
3026
- id: trailing-whitespace
3127
exclude: |
32-
(?x)^(
33-
docs/.*
34-
)$
28+
(?x)(
29+
^docs/
30+
)
3531
# - repo: https://github.com/pre-commit/mirrors-mypy
3632
# rev: v1.6.1
3733
# hooks:

0 commit comments

Comments
 (0)