Ignore README in pre-commit rules (#17151)
This commit is contained in:
parent
3a900b5b5a
commit
629a515427
|
@ -27,6 +27,8 @@ repos:
|
|||
hooks:
|
||||
- id: end-of-file-fixer
|
||||
- id: trailing-whitespace
|
||||
# ignoring Wills's wild changes
|
||||
exclude: README.md
|
||||
- id: check-yaml
|
||||
- id: check-docstring-first
|
||||
- id: check-executables-have-shebangs
|
||||
|
@ -99,7 +101,8 @@ repos:
|
|||
(?x)^(
|
||||
src/lightning/app/CHANGELOG.md|
|
||||
src/lightning/fabric/CHANGELOG.md|
|
||||
src/lightning/pytorch/CHANGELOG.md
|
||||
src/lightning/pytorch/CHANGELOG.md|
|
||||
README.md
|
||||
)$
|
||||
|
||||
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
||||
|
|
Loading…
Reference in New Issue