Skip to content

Commit aa2dd2b

Browse files
author
Fengzhe Zhou
authoredMay 14, 2024
[Format] Add config lints (#892)
1 parent 3dbba11 commit aa2dd2b

File tree

648 files changed

+4879
-4891
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

648 files changed

+4879
-4891
lines changed
 

‎.pre-commit-config-zh-cn.yaml

+2-3
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,18 @@ repos:
4545
(?x)^(
4646
dicts/|
4747
projects/.*?/dicts/|
48-
configs/
48+
configs/.*?/.*\.txt
4949
)
5050
- id: check-yaml
5151
- id: end-of-file-fixer
5252
exclude: |
5353
(?x)^(
5454
dicts/|
5555
projects/.*?/dicts/|
56-
configs/
56+
configs/.*?/.*\.txt
5757
)
5858
- id: requirements-txt-fixer
5959
- id: double-quote-string-fixer
60-
exclude: configs/
6160
- id: check-merge-conflict
6261
- id: fix-encoding-pragma
6362
args: ["--remove"]

‎.pre-commit-config.yaml

+2-3
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,18 @@ repos:
4545
(?x)^(
4646
dicts/|
4747
projects/.*?/dicts/|
48-
configs/
48+
configs/.*?/.*\.txt
4949
)
5050
- id: check-yaml
5151
- id: end-of-file-fixer
5252
exclude: |
5353
(?x)^(
5454
dicts/|
5555
projects/.*?/dicts/|
56-
configs/
56+
configs/.*?/.*\.txt
5757
)
5858
- id: requirements-txt-fixer
5959
- id: double-quote-string-fixer
60-
exclude: configs/
6160
- id: check-merge-conflict
6261
- id: fix-encoding-pragma
6362
args: ["--remove"]

0 commit comments

Comments
 (0)