glenn-jocher
commited on
Commit
•
e04d8b1
1
Parent(s):
c264795
Update precommit monthly python 3.7+ (#7542)
Browse files- .pre-commit-config.yaml +6 -5
.pre-commit-config.yaml
CHANGED
@@ -8,7 +8,7 @@ default_language_version:
|
|
8 |
ci:
|
9 |
autofix_prs: true
|
10 |
autoupdate_commit_msg: '[pre-commit.ci] pre-commit suggestions'
|
11 |
-
autoupdate_schedule:
|
12 |
# submodules: true
|
13 |
|
14 |
repos:
|
@@ -27,8 +27,8 @@ repos:
|
|
27 |
rev: v2.32.0
|
28 |
hooks:
|
29 |
- id: pyupgrade
|
30 |
-
args: [--py36-plus]
|
31 |
name: Upgrade code
|
|
|
32 |
|
33 |
- repo: https://github.com/PyCQA/isort
|
34 |
rev: 5.10.1
|
@@ -46,13 +46,14 @@ repos:
|
|
46 |
rev: 0.7.14
|
47 |
hooks:
|
48 |
- id: mdformat
|
|
|
49 |
additional_dependencies:
|
50 |
- mdformat-gfm
|
51 |
- mdformat-black
|
52 |
exclude: |
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
|
57 |
- repo: https://github.com/asottile/yesqa
|
58 |
rev: v1.3.0
|
|
|
8 |
ci:
|
9 |
autofix_prs: true
|
10 |
autoupdate_commit_msg: '[pre-commit.ci] pre-commit suggestions'
|
11 |
+
autoupdate_schedule: monthly
|
12 |
# submodules: true
|
13 |
|
14 |
repos:
|
|
|
27 |
rev: v2.32.0
|
28 |
hooks:
|
29 |
- id: pyupgrade
|
|
|
30 |
name: Upgrade code
|
31 |
+
args: [ --py37-plus ]
|
32 |
|
33 |
- repo: https://github.com/PyCQA/isort
|
34 |
rev: 5.10.1
|
|
|
46 |
rev: 0.7.14
|
47 |
hooks:
|
48 |
- id: mdformat
|
49 |
+
name: MD formatting
|
50 |
additional_dependencies:
|
51 |
- mdformat-gfm
|
52 |
- mdformat-black
|
53 |
exclude: |
|
54 |
+
(?x)^(
|
55 |
+
README.md
|
56 |
+
)$
|
57 |
|
58 |
- repo: https://github.com/asottile/yesqa
|
59 |
rev: v1.3.0
|