From 3300732fffcac1d1b466a3f9f5f1e84ae7ba0782 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 2 Aug 2021 16:25:39 +0000 Subject: [PATCH 1/3] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v3.3.0 → v4.0.1](https://github.com/pre-commit/pre-commit-hooks/compare/v3.3.0...v4.0.1) - [github.com/pycqa/isort: 5.8.0 → 5.9.3](https://github.com/pycqa/isort/compare/5.8.0...5.9.3) - [github.com/psf/black: 20.8b1 → 21.7b0](https://github.com/psf/black/compare/20.8b1...21.7b0) - https://gitlab.com/pycqa/flake8 → https://github.com/PyCQA/flake8 - [github.com/PyCQA/flake8: 3.8.4 → 3.9.2](https://github.com/PyCQA/flake8/compare/3.8.4...3.9.2) - [github.com/pre-commit/mirrors-mypy: v0.790 → v0.910](https://github.com/pre-commit/mirrors-mypy/compare/v0.790...v0.910) - [github.com/asottile/setup-cfg-fmt: v1.16.0 → v1.17.0](https://github.com/asottile/setup-cfg-fmt/compare/v1.16.0...v1.17.0) --- .pre-commit-config.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 59909d9..49186ce 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,7 +11,7 @@ exclude: > repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.3.0 + rev: v4.0.1 hooks: - id: check-json - id: check-yaml @@ -26,29 +26,29 @@ repos: additional_dependencies: [setuptools>=46.4.0] - repo: https://github.com/pycqa/isort - rev: 5.8.0 + rev: 5.9.3 hooks: - id: isort - repo: https://github.com/psf/black - rev: 20.8b1 + rev: 21.7b0 hooks: - id: black - - repo: https://gitlab.com/pycqa/flake8 - rev: 3.8.4 + - repo: https://github.com/PyCQA/flake8 + rev: 3.9.2 hooks: - id: flake8 additional_dependencies: [flake8-bugbear==21.3.1] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.790 + rev: v0.910 hooks: - id: mypy additional_dependencies: [] - repo: https://github.com/asottile/setup-cfg-fmt - rev: v1.16.0 + rev: v1.17.0 hooks: - id: setup-cfg-fmt From 3bd5c9c6a7ebf0a701c1917664c9e91ae7efed8c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 2 Aug 2021 16:26:16 +0000 Subject: [PATCH 2/3] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- setup.cfg | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/setup.cfg b/setup.cfg index c4adfbe..e3f4f57 100644 --- a/setup.cfg +++ b/setup.cfg @@ -36,6 +36,10 @@ install_requires = python_requires = ~=3.6 include_package_data = True +[options.packages.find] +exclude = + test* + [options.extras_require] code_style = pre-commit~=2.12 @@ -55,10 +59,6 @@ theme_rtd = theme_sbt = sphinx-book-theme~=0.1.0 -[options.packages.find] -exclude = - test* - [mypy] show_error_codes = True warn_unused_ignores = True From c95dcddb35c9755c253bc9850e8040a57a4d659f Mon Sep 17 00:00:00 2001 From: Chris Sewell Date: Wed, 4 Aug 2021 15:22:51 +0200 Subject: [PATCH 3/3] Update setup.cfg --- setup.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.cfg b/setup.cfg index e3f4f57..0113746 100644 --- a/setup.cfg +++ b/setup.cfg @@ -66,6 +66,9 @@ warn_redundant_casts = True no_implicit_optional = True strict_equality = True +[mypy-docutils.*] +ignore_missing_imports = True + [flake8] max-line-length = 100 extend-ignore = E203