Skip to content

Commit c0643bb

Browse files
committed
exclude readme from pre-commit globally
1 parent 3f72824 commit c0643bb

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.pre-commit-config.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ repos:
1313
hooks:
1414
- id: end-of-file-fixer
1515
- id: trailing-whitespace
16-
exclude: README.md
1716
- id: check-case-conflict
1817
- id: check-yaml
1918
- id: check-toml
@@ -49,3 +48,8 @@ repos:
4948
args: ["--fix"]
5049
- id: ruff-format
5150
- id: ruff
51+
52+
exclude: |
53+
(?x)(
54+
^README.md
55+
)

0 commit comments

Comments
 (0)