Skip to content

Commit 0553f31

Browse files
committed
Update pre-commit
1 parent ce1a732 commit 0553f31

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.pre-commit-config.yaml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,42 @@
11
# https://pre-commit.com/
22
repos:
3+
- repo: https://github.com/asottile/seed-isort-config
4+
rev: v2.2.0
5+
hooks:
6+
- id: seed-isort-config
7+
38
# isort should run before black as black sometimes tweaks the isort output
49
- repo: https://github.com/timothycrosley/isort
5-
rev: 5.0.4
10+
rev: 5.0.9
611
hooks:
712
- id: isort
813
files: .+\.py$
14+
915
# https://github.com/python/black#version-control-integration
1016
- repo: https://github.com/python/black
1117
rev: 19.10b0
1218
hooks:
1319
- id: black
20+
1421
- repo: https://gitlab.com/pycqa/flake8
1522
rev: 3.8.3
1623
hooks:
1724
- id: flake8
25+
1826
- repo: https://github.com/pre-commit/mirrors-mypy
1927
rev: v0.782 # Must match ci/requirements/*.yml
2028
hooks:
2129
- id: mypy
30+
31+
- repo: https://github.com/deathbeds/prenotebook
32+
rev: f5bdb72a400f1a56fe88109936c83aa12cc349fa
33+
hooks:
34+
- id: prenotebook
35+
36+
- repo: https://github.com/myint/rstcheck
37+
rev: 3f92957478422df87bd730abde66f089cc1ee19b
38+
hooks:
39+
- id: rstcheck
2240
# run this occasionally, ref discussion https://github.com/pydata/xarray/pull/3194
2341
# - repo: https://github.com/asottile/pyupgrade
2442
# rev: v1.22.1

0 commit comments

Comments
 (0)