Skip to content

Commit 332a492

Browse files
committed
Update pre-commit
1 parent 77d083f commit 332a492

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

.pre-commit-config.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/asottile/pyupgrade
3-
rev: v2.7.4
3+
rev: v2.12.0
44
hooks:
55
- id: pyupgrade
66
args: ["--py36-plus"]
@@ -12,31 +12,31 @@ repos:
1212
args: ["--target-version", "py36"]
1313

1414
- repo: https://github.com/PyCQA/isort
15-
rev: 5.6.4
15+
rev: 5.8.0
1616
hooks:
1717
- id: isort
1818

1919
- repo: https://gitlab.com/pycqa/flake8
20-
rev: 3.8.4
20+
rev: 3.9.0
2121
hooks:
2222
- id: flake8
2323
additional_dependencies: [flake8-2020, flake8-implicit-str-concat]
2424

2525
- repo: https://github.com/pre-commit/pygrep-hooks
26-
rev: v1.7.0
26+
rev: v1.8.0
2727
hooks:
2828
- id: python-check-blanket-noqa
2929

3030
- repo: https://github.com/pre-commit/pre-commit-hooks
31-
rev: v3.3.0
31+
rev: v3.4.0
3232
hooks:
3333
- id: check-merge-conflict
3434
- id: check-toml
3535
- id: check-yaml
3636
- id: end-of-file-fixer
3737

3838
- repo: https://github.com/PyCQA/pydocstyle
39-
rev: 5.1.1
39+
rev: 6.0.0
4040
hooks:
4141
- id: pydocstyle
4242
args: ["--convention", "google"]
@@ -48,6 +48,6 @@ repos:
4848
- id: tox-ini-fmt
4949

5050
- repo: https://github.com/asottile/setup-cfg-fmt
51-
rev: v1.15.1
51+
rev: v1.17.0
5252
hooks:
5353
- id: setup-cfg-fmt

setup.cfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ include_package_data = True
4040
package_dir = =src
4141
zip_safe = False
4242

43+
[options.packages.find]
44+
where = src
45+
4346
[options.extras_require]
4447
tests =
4548
freezegun
4649
pytest
4750
pytest-cov
4851

49-
[options.packages.find]
50-
where = src
51-
5252
[flake8]
5353
max_line_length = 88
5454

0 commit comments

Comments
 (0)