jiaulislam
commited on
Commit
·
7d8a510
1
Parent(s):
3095680
adding support for 3.7
Browse files- .pre-commit-config.yaml +24 -19
.pre-commit-config.yaml
CHANGED
|
@@ -1,20 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
repos:
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
|
|
|
| 1 |
+
default_language_version:
|
| 2 |
+
python: python3.7
|
| 3 |
+
|
| 4 |
+
default_stages: [commit, push]
|
| 5 |
+
|
| 6 |
repos:
|
| 7 |
+
- repo: https://github.com/psf/black
|
| 8 |
+
rev: 23.1.0
|
| 9 |
+
hooks:
|
| 10 |
+
- id: black
|
| 11 |
+
- repo: https://github.com/PyCQA/flake8.git
|
| 12 |
+
rev: 16c371d41cd742f975171826de0ad5d707162c1d
|
| 13 |
+
hooks:
|
| 14 |
+
- id: flake8
|
| 15 |
+
- repo: https://github.com/hadialqattan/pycln
|
| 16 |
+
rev: v2.1.3
|
| 17 |
+
hooks:
|
| 18 |
+
- id: pycln
|
| 19 |
+
args: [--config=pyproject.toml]
|
| 20 |
+
- repo: https://github.com/pycqa/isort
|
| 21 |
+
rev: 5.11.5
|
| 22 |
+
hooks:
|
| 23 |
+
- id: isort
|
| 24 |
+
files: "\\.(py)$"
|
| 25 |
+
args: ["--profile", "black"]
|