mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-03 10:56:52 +00:00
Add pre commit hook
This commit is contained in:
parent
5ea4ae8e87
commit
61f50c235d
1 changed files with 6 additions and 0 deletions
|
|
@ -125,6 +125,12 @@
|
|||
entry: double-quote-string-fixer
|
||||
language: python
|
||||
types: [python]
|
||||
- id: double-quote-string-fixer-jupyter-notebooks
|
||||
name: fix double quoted strings in Jupyter notebooks
|
||||
description: replaces double quoted strings with single quoted strings in Jupyter notebooks.
|
||||
entry: double-quote-string-fixer-jupyter-notebooks
|
||||
lanbuage: python
|
||||
files: (^|/).*\.ipynb$
|
||||
- id: end-of-file-fixer
|
||||
name: fix end of files
|
||||
description: ensures that a file is either empty, or ends with one newline.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue