From f8f9a3291ab1722fe23b0814c5ae28bb87c29376 Mon Sep 17 00:00:00 2001 From: Andrey Rakhmatullin Date: Tue, 15 Oct 2024 15:15:36 +0500 Subject: [PATCH] Bump tool versions. --- .pre-commit-config.yaml | 4 ++-- docs/conf.py | 9 +-------- tox.ini | 9 +++++---- 3 files changed, 8 insertions(+), 14 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1728dce..363fa91 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ repos: - id: black language_version: python3 repo: https://github.com/psf/black - rev: 24.3.0 + rev: 24.10.0 - hooks: - id: isort language_version: python3 @@ -18,4 +18,4 @@ repos: - flake8-debugger - flake8-string-format repo: https://github.com/pycqa/flake8 - rev: 7.0.0 + rev: 7.1.1 diff --git a/docs/conf.py b/docs/conf.py index e92b14a..55a2f19 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -55,7 +55,7 @@ # You can specify multiple suffix as a list of string: # # source_suffix = ['.rst', '.md'] -source_suffix = ".rst" +source_suffix = source_suffix = {".rst": "restructuredtext"} # The master toctree document. master_doc = "index" @@ -83,13 +83,6 @@ # html_theme = "sphinx_rtd_theme" -# Add any paths that contain custom themes here, relative to this directory. -# Add path to the RTD explicitly to robustify builds (otherwise might -# fail in a clean Debian build env) -import sphinx_rtd_theme # noqa - -html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] - # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the # documentation. diff --git a/tox.ini b/tox.ini index a67df4d..eec2403 100644 --- a/tox.ini +++ b/tox.ini @@ -20,9 +20,10 @@ deps = [testenv:mypy] deps = - mypy==1.9.0 + mypy==1.12.0 + pytest==8.3.3 commands = - mypy --ignore-missing-imports --no-warn-no-return url_matcher tests + mypy url_matcher tests [docs] changedir = docs @@ -45,8 +46,8 @@ commands = [testenv:twinecheck] basepython = python3 deps = - twine==5.0.0 - build==1.2.1 + twine==5.1.1 + build==1.2.2 commands = python -m build --sdist twine check dist/*