Skip to content

Commit 29db0b9

Browse files
committed
Update pre-commit revisions
1 parent a670af1 commit 29db0b9

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# WARNING: Make sure to keep flags in sync with ci/run-linter.sh
44
repos:
55
- repo: https://github.com/pre-commit/pre-commit-hooks
6-
rev: v3.1.0
6+
rev: v4.1.0
77
hooks:
88
- id: double-quote-string-fixer
99
- id: check-docstring-first
@@ -12,28 +12,28 @@ repos:
1212
- id: trailing-whitespace
1313

1414
- repo: https://github.com/pre-commit/mirrors-isort
15-
rev: v4.3.21
15+
rev: v5.10.1
1616
hooks:
1717
- id: isort
1818
args: ['--line-width=88', '--multi-line=3', '--force-grid-wrap=0', '--trailing-comma']
1919
exclude: '(^docs|__init__)'
2020

2121
- repo: https://github.com/PyCQA/flake8
22-
rev: 3.8.3
22+
rev: 4.0.1
2323
hooks:
2424
- id: flake8
2525
args: ['--max-line-length=88', '--ignore=W503,E402,E741']
2626

2727
# apply once this handles long tables better
2828
# - repo: https://github.com/PyCQA/doc8
29-
# rev: 0.8.1
29+
# rev: 0.10.1
3030
# hooks:
3131
# - id: doc8
3232
# args: ['--max-line-length', '88', '--allow-long-titles']
3333

3434
# apply after function keyword args can be ignored
3535
# - repo: https://github.com/ambv/black
36-
# rev: 19.10
36+
# rev: 22.1.0
3737
# hooks:
3838
# - id: black
3939
# args: ['--line-length', '88', '--skip-string-normalization']

ci/environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ dependencies:
2222
- pip:
2323
- ..
2424
- flake8
25-
- isort==4.3.21
25+
- isort
2626
- black
2727
- doc8
2828
- pytest

0 commit comments

Comments
 (0)