add pre-commit hooks (#7906)
This commit is contained in:
parent
839019a3a7
commit
111287b4f9
|
@ -25,6 +25,19 @@ repos:
|
|||
- id: check-docstring-first
|
||||
- id: check-executables-have-shebangs
|
||||
- id: check-toml
|
||||
- id: check-case-conflict
|
||||
- id: check-added-large-files
|
||||
args: ['--maxkb=350', '--enforce-all']
|
||||
exclude: |
|
||||
(?x)^(
|
||||
docs/source/_static/images/general/fast_2.gif|
|
||||
docs/source/_static/images/mnist_imgs/pt_to_pl.jpg|
|
||||
docs/source/_static/images/lightning_module/pt_to_pl.png|
|
||||
docs/source/_static/images/general/pl_quick_start_full_compressed.gif|
|
||||
docs/source/_static/images/general/pl_overview_flat.jpg|
|
||||
docs/source/_static/images/general/pl_overview.gif
|
||||
)$
|
||||
- id: detect-private-key
|
||||
|
||||
- repo: https://github.com/PyCQA/isort
|
||||
rev: 5.8.0
|
||||
|
|
Loading…
Reference in New Issue