diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 954798d3..faa0c903 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -33,7 +33,7 @@ repos: rev: v1.12.1 hooks: - id: blacken-docs - additional_dependencies: [black==22.8] + additional_dependencies: [black==22.10] - repo: https://github.com/pre-commit/pygrep-hooks rev: v1.9.0 hooks: @@ -48,11 +48,11 @@ repos: hooks: - id: flake8 additional_dependencies: - - flake8-bugbear==22.9.23 - - flake8-comprehensions==3.10 + - flake8-bugbear==22.10.27 + - flake8-comprehensions==3.10.1 - flake8-pytest-style==1.6 - flake8-spellcheck==0.28 - - flake8-unused-arguments==0.0.11 + - flake8-unused-arguments==0.0.12 - flake8-noqa==1.2.9 - pep8-naming==0.13.2 - repo: https://github.com/pre-commit/mirrors-prettier diff --git a/pyproject.toml b/pyproject.toml index 70f6375d..51c626f2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] build-backend = "hatchling.build" -requires = ["hatchling>=1.10", "hatch-vcs>=0.2"] +requires = ["hatchling>=1.11.1", "hatch-vcs>=0.2"] [project] name = "sphinx_autodoc_typehints" @@ -16,17 +16,17 @@ 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.2.1"] -optional-dependencies.docs = ["furo>=2022.9.15", "sphinx>=5.2.1", "sphinx-autodoc-typehints>=1.19.3"] +dependencies = ["Sphinx>=5.3"] +optional-dependencies.docs = ["furo>=2022.9.29", "sphinx>=5.3", "sphinx-autodoc-typehints>=1.19.4"] optional-dependencies.testing = [ "covdefaults>=2.2", - "coverage>=6.4.4", + "coverage>=6.5", "diff-cover>=7.0.1", "nptyping>=2.3.1", - "pytest>=7.1.3", - "pytest-cov>=3", + "pytest>=7.2", + "pytest-cov>=4", "sphobjinv>=2.2.2", - "typing-extensions>=4.3", + "typing-extensions>=4.4", ] optional-dependencies.type-comment = ['typed-ast>=1.5.4; python_version < "3.8"'] dynamic = ["version"] diff --git a/tox.ini b/tox.ini index a0d0c1e4..883dd9aa 100644 --- a/tox.ini +++ b/tox.ini @@ -46,8 +46,8 @@ description = run type check on code base setenv = {tty:MYPY_FORCE_COLOR = 1} deps = - mypy==0.981 - types-docutils>=0.19.1 + mypy==0.982 + types-docutils>=0.19.1.1 commands = mypy --python-version 3.10 src mypy --python-version 3.10 tests @@ -61,7 +61,7 @@ setenv = skip_install = true deps = covdefaults>=2.2 - coverage>=6.4.4 + coverage>=6.5 diff-cover>=7.0.1 extras = parallel_show_output = true @@ -82,7 +82,7 @@ depends = description = check that the long description is valid (need for PyPI) skip_install = true deps = - build[virtualenv]>=0.8 + build[virtualenv]>=0.9 twine>=4.0.1 extras = commands =