Skip to content

Commit 7182b30

Browse files
[pre-commit.ci] pre-commit autoupdate (#52)
updates: - [github.com/pre-commit/pre-commit-hooks: v3.3.0 → v4.0.1](pre-commit/pre-commit-hooks@v3.3.0...v4.0.1) - [github.com/pycqa/isort: 5.8.0 → 5.9.3](PyCQA/isort@5.8.0...5.9.3) - [github.com/psf/black: 20.8b1 → 21.7b0](psf/black@20.8b1...21.7b0) - https://gitlab.com/pycqa/flake8https://github.com/PyCQA/flake8 - [github.com/PyCQA/flake8: 3.8.4 → 3.9.2](PyCQA/flake8@3.8.4...3.9.2) - [github.com/pre-commit/mirrors-mypy: v0.790 → v0.910](pre-commit/mirrors-mypy@v0.790...v0.910) - [github.com/asottile/setup-cfg-fmt: v1.16.0 → v1.17.0](asottile/setup-cfg-fmt@v1.16.0...v1.17.0) Co-authored-by: Chris Sewell <chrisj_sewell@hotmail.com>
1 parent ec4a439 commit 7182b30

File tree

2 files changed

+18
-12
lines changed

2 files changed

+18
-12
lines changed

.pre-commit-config.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,43 +11,43 @@ exclude: >
1111
repos:
1212

1313
- repo: https://github.com/pre-commit/pre-commit-hooks
14-
rev: v3.3.0
14+
rev: v4.0.1
1515
hooks:
1616
- id: check-json
1717
- id: check-yaml
1818
- id: end-of-file-fixer
1919
- id: trailing-whitespace
2020

2121
- repo: https://github.com/mgedmin/check-manifest
22-
rev: "0.46"
22+
rev: "0.47"
2323
hooks:
2424
- id: check-manifest
2525
args: [--no-build-isolation]
2626
additional_dependencies: [setuptools>=46.4.0]
2727

2828
- repo: https://github.com/pycqa/isort
29-
rev: 5.8.0
29+
rev: 5.9.3
3030
hooks:
3131
- id: isort
3232

3333
- repo: https://github.com/psf/black
34-
rev: 20.8b1
34+
rev: 21.9b0
3535
hooks:
3636
- id: black
3737

38-
- repo: https://gitlab.com/pycqa/flake8
39-
rev: 3.8.4
38+
- repo: https://github.com/PyCQA/flake8
39+
rev: 3.9.2
4040
hooks:
4141
- id: flake8
4242
additional_dependencies: [flake8-bugbear==21.3.1]
4343

4444
- repo: https://github.com/pre-commit/mirrors-mypy
45-
rev: v0.790
45+
rev: v0.910
4646
hooks:
4747
- id: mypy
4848
additional_dependencies: [attrs]
4949

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

setup.cfg

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ python_requires = ~=3.6
3737
include_package_data = True
3838
zip_safe = True
3939

40+
[options.packages.find]
41+
exclude =
42+
test*
43+
4044
[options.entry_points]
4145
console_scripts =
4246
sphinx-etoc = sphinx_external_toc.cli:main
@@ -55,17 +59,19 @@ testing =
5559
pytest-cov
5660
pytest-regressions
5761

58-
[options.packages.find]
59-
exclude =
60-
test*
61-
6262
[mypy]
6363
show_error_codes = True
6464
warn_unused_ignores = True
6565
warn_redundant_casts = True
6666
no_implicit_optional = True
6767
strict_equality = True
6868

69+
[mypy-docutils.*]
70+
ignore_missing_imports = True
71+
72+
[mypy-yaml.*]
73+
ignore_missing_imports = True
74+
6975
[flake8]
7076
max-line-length = 100
7177
extend-ignore = E203

0 commit comments

Comments
 (0)