Spaces:
Sleeping
Sleeping
Clement Vachet
commited on
Commit
·
f69e3f4
1
Parent(s):
1f0b832
Add line at end of file
Browse files- .pre-commit-config.yaml +30 -0
.pre-commit-config.yaml
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
repos:
|
| 2 |
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
| 3 |
+
rev: v3.2.0
|
| 4 |
+
hooks:
|
| 5 |
+
- id: trailing-whitespace
|
| 6 |
+
args: [--markdown-linebreak-ext=md]
|
| 7 |
+
- id: check-yaml
|
| 8 |
+
- id: check-toml
|
| 9 |
+
- id: debug-statements
|
| 10 |
+
- id: detect-private-key
|
| 11 |
+
- id: mixed-line-ending
|
| 12 |
+
- id: trailing-whitespace
|
| 13 |
+
- id: end-of-file-fixer
|
| 14 |
+
- repo: local
|
| 15 |
+
hooks:
|
| 16 |
+
- id: black
|
| 17 |
+
name: black
|
| 18 |
+
entry: python -m black
|
| 19 |
+
language: system
|
| 20 |
+
require_serial: true
|
| 21 |
+
types: [python]
|
| 22 |
+
- repo: local
|
| 23 |
+
hooks:
|
| 24 |
+
- id: pylint
|
| 25 |
+
name: pylint
|
| 26 |
+
entry: python -m pylint
|
| 27 |
+
language: system
|
| 28 |
+
require_serial: true
|
| 29 |
+
types: [python]
|
| 30 |
+
exclude: ^(tests|cd)
|