From 73c6dfe488da724a1d578d6264b94bf89b0e377f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bern=C3=A1t=20G=C3=A1bor?= Date: Mon, 26 Sep 2022 13:25:25 -0700 Subject: [PATCH] Fix the CI (#258) --- .pre-commit-config.yaml | 2 +- pyproject.toml | 8 ++++---- tox.ini | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 53c5dbd6..bda701c7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -48,7 +48,7 @@ repos: hooks: - id: flake8 additional_dependencies: - - flake8-bugbear==22.9.11 + - flake8-bugbear==22.9.23 - flake8-comprehensions==3.10 - flake8-pytest-style==1.6 - flake8-spellcheck==0.28 diff --git a/pyproject.toml b/pyproject.toml index 0e4bbe09..cdebbe87 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] build-backend = "hatchling.build" -requires = ["hatchling>=1.9", "hatch-vcs>=0.2"] +requires = ["hatchling>=1.10", "hatch-vcs>=0.2"] [project] name = "sphinx_autodoc_typehints" @@ -16,12 +16,12 @@ urls.Changelog = "https://github.com/tox-dev/sphinx-autodoc-typehints/blob/main/ authors = [{ name = "Bernát Gábor", email = "gaborjbernat@gmail.com" }] maintainers = [{ name = "Bernát Gábor", email = "gaborjbernat@gmail.com" }] requires-python = ">=3.7" -dependencies = ["Sphinx>=5.1.1"] -optional-dependencies.docs = ["furo>=2022.6.21", "sphinx>=5.1.1", "sphinx-autodoc-typehints>=1.19.2"] +dependencies = ["Sphinx>=5.2.1"] +optional-dependencies.docs = ["furo>=2022.9.15", "sphinx>=5.2.1", "sphinx-autodoc-typehints>=1.19.2"] optional-dependencies.testing = [ "covdefaults>=2.2", "coverage>=6.4.4", - "diff-cover>=6.5.1", + "diff-cover>=7.0.1", "nptyping>=2.3.1", "pytest>=7.1.3", "pytest-cov>=3", diff --git a/tox.ini b/tox.ini index 4f80f90f..a0d0c1e4 100644 --- a/tox.ini +++ b/tox.ini @@ -46,7 +46,7 @@ description = run type check on code base setenv = {tty:MYPY_FORCE_COLOR = 1} deps = - mypy==0.971 + mypy==0.981 types-docutils>=0.19.1 commands = mypy --python-version 3.10 src @@ -62,7 +62,7 @@ skip_install = true deps = covdefaults>=2.2 coverage>=6.4.4 - diff-cover>=6.5.1 + diff-cover>=7.0.1 extras = parallel_show_output = true commands =