Skip to content

Commit 2bbfab1

Browse files
authored
CHORE: [pre-commit] Add exclude thirdparty rules (#1678)
1 parent d6041d5 commit 2bbfab1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.pre-commit-config.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@ repos:
44
rev: 23.12.0
55
hooks:
66
- id: black
7+
exclude: thirdparty
78
- repo: https://github.com/pre-commit/pre-commit-hooks
89
rev: v4.4.0
910
hooks:
1011
- id: end-of-file-fixer
12+
exclude: ^xinference/thirdparty
1113
- id: trailing-whitespace
14+
exclude: thirdparty
1215
- repo: https://github.com/PyCQA/flake8
1316
rev: 6.0.0
1417
hooks:
@@ -20,6 +23,7 @@ repos:
2023
hooks:
2124
- id: isort
2225
args: [--sp, setup.cfg]
26+
exclude: thirdparty
2327
- repo: https://github.com/pre-commit/mirrors-mypy
2428
rev: v1.9.0
2529
hooks:
@@ -32,3 +36,4 @@ repos:
3236
hooks:
3337
- id: codespell
3438
args: [ --config, setup.cfg]
39+
exclude: thirdparty

0 commit comments

Comments
 (0)