Skip to content

Commit aec760a

Browse files
committed
Exclude cloned files
1 parent 50feb76 commit aec760a

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

Diff for: .pre-commit-config.yaml

+13-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
1-
exclude: ".github/.*"
1+
exclude: |
2+
(?x)^(
3+
.github/.*|
4+
tools/esp32-arduino-libs/.*|
5+
tools/riscv32-.*|
6+
tools/xtensa-.*|
7+
tools/dist/.*|
8+
tools/esptool/.*|
9+
tools/mklittlefs/.*|
10+
tools/mkspiffs/.*|
11+
tools/openocd-esp32/.*
12+
)$
213
314
default_language_version:
415
# force all unspecified python hooks to run python3
@@ -34,6 +45,7 @@ repos:
3445
rev: "22.10.0"
3546
hooks:
3647
- id: black
48+
types_or: [python]
3749
args: [--line-length=120] #From the arduino code style. Add as argument rather than creating a new config file.
3850
- repo: https://github.com/PyCQA/flake8
3951
rev: "7.0.0"

0 commit comments

Comments
 (0)