Skip to content

Commit 2525e7f

Browse files
awaelchlilantiga
authored andcommitted
Ignore README in pre-commit rules (#17151)
(cherry picked from commit 629a515)
1 parent fe7990e commit 2525e7f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ repos:
2727
hooks:
2828
- id: end-of-file-fixer
2929
- id: trailing-whitespace
30+
# ignoring Wills's wild changes
31+
exclude: README.md
3032
- id: check-yaml
3133
- id: check-docstring-first
3234
- id: check-executables-have-shebangs
@@ -100,7 +102,8 @@ repos:
100102
(?x)^(
101103
src/pytorch_lightning/CHANGELOG.md|
102104
src/lightning_app/CHANGELOG.md|
103-
src/lightning_fabric/CHANGELOG.md
105+
src/lightning_fabric/CHANGELOG.md|
106+
README.md
104107
)$
105108
106109
- repo: https://github.com/charliermarsh/ruff-pre-commit

0 commit comments

Comments
 (0)