From 8afbeb9eab2410697b8db4b1a6afda913d7ad26c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 1 Aug 2022 17:05:40 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/asottile/pyupgrade: v2.37.2 → v2.37.3](https://github.com/asottile/pyupgrade/compare/v2.37.2...v2.37.3) - [github.com/asottile/setup-cfg-fmt: v1.20.2 → v2.0.0](https://github.com/asottile/setup-cfg-fmt/compare/v1.20.2...v2.0.0) - [github.com/PyCQA/flake8: 4.0.1 → 5.0.2](https://github.com/PyCQA/flake8/compare/4.0.1...5.0.2) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 203a385b..65c58180 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,7 +12,7 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/asottile/pyupgrade - rev: v2.37.2 + rev: v2.37.3 hooks: - id: pyupgrade args: [ "--py37-plus" ] @@ -44,12 +44,12 @@ repos: - id: tox-ini-fmt args: [ "-p", "fix" ] - repo: https://github.com/asottile/setup-cfg-fmt - rev: v1.20.2 + rev: v2.0.0 hooks: - id: setup-cfg-fmt args: [ --min-py3-version, "3.7", "--max-py-version", "3.10" ] - repo: https://github.com/PyCQA/flake8 - rev: 4.0.1 + rev: 5.0.2 hooks: - id: flake8 additional_dependencies: From 383b509a1e7f879c2417e5853eec966aaf3f92d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bern=C3=A1t=20G=C3=A1bor?= Date: Wed, 3 Aug 2022 00:21:37 -0700 Subject: [PATCH 2/2] Bump dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bernát Gábor --- .github/workflows/check.yml | 2 +- .pre-commit-config.yaml | 14 +++++++------- pyproject.toml | 2 +- setup.cfg | 20 ++++++++------------ tox.ini | 12 ++++++------ 5 files changed, 23 insertions(+), 27 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index d42b632c..e7cf2f2f 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -17,7 +17,7 @@ jobs: fail-fast: false matrix: py: - - "3.11.0-beta.4" + - "3.11.0-beta.5" - "3.10" - "3.9" - "3.8" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 65c58180..1f0e5043 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==21.12b0 ] + additional_dependencies: [ black==22.6 ] - repo: https://github.com/pre-commit/pygrep-hooks rev: v1.9.0 hooks: @@ -53,10 +53,10 @@ repos: hooks: - id: flake8 additional_dependencies: - - flake8-bugbear==22.1.11 - - flake8-comprehensions==3.8 + - flake8-bugbear==22.7.1 + - flake8-comprehensions==3.10 - flake8-pytest-style==1.6 - - flake8-spellcheck==0.24 - - flake8-unused-arguments==0.0.9 - - flake8-noqa==1.2.1 - - pep8-naming==0.12.1 + - flake8-spellcheck==0.28 + - flake8-unused-arguments==0.0.11 + - flake8-noqa==1.2.8 + - pep8-naming==0.13.1 diff --git a/pyproject.toml b/pyproject.toml index 2aac542c..aed2a824 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=50", "setuptools_scm>=6"] +requires = ["setuptools>=63.4", "setuptools_scm>=7.0.5"] build-backend = 'setuptools.build_meta' [tool.black] diff --git a/setup.cfg b/setup.cfg index 009b23d8..e4ae33c3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -16,10 +16,6 @@ classifiers = Programming Language :: Python Programming Language :: Python :: 3 Programming Language :: Python :: 3 :: Only - Programming Language :: Python :: 3.7 - Programming Language :: Python :: 3.8 - Programming Language :: Python :: 3.9 - Programming Language :: Python :: 3.10 Topic :: Documentation :: Sphinx download_url = https://github.com/tox-dev/sphinx-autodoc-typehints/archive/main.zip project_urls = @@ -30,7 +26,7 @@ project_urls = [options] packages = find: install_requires = - Sphinx>=4.5 + Sphinx>=5.1.1 python_requires = >=3.7 package_dir = =src @@ -41,15 +37,15 @@ where = src [options.extras_require] testing = covdefaults>=2.2 - coverage>=6.3 - diff-cover>=6.4 - nptyping>=2.1.2 - pytest>=7.1 + coverage>=6.4.2 + diff-cover>=6.5.1 + nptyping>=2.2 + pytest>=7.1.2 pytest-cov>=3 - sphobjinv>=2 - typing-extensions>=4.1 + sphobjinv>=2.2.2 + typing-extensions>=4.3 type_comments = - typed-ast>=1.5.2;python_version < "3.8" + typed-ast>=1.5.4;python_version < "3.8" [options.package_data] sphinx_autodoc_typehints = py.typed diff --git a/tox.ini b/tox.ini index 8ef4fc92..ffa90976 100644 --- a/tox.ini +++ b/tox.ini @@ -37,7 +37,7 @@ wheel_build_env = .pkg description = format the code base to adhere to our styles, and complain about what we cannot do automatically skip_install = true deps = - pre-commit>=2 + pre-commit>=2.20 commands = pre-commit run --all-files --show-diff-on-failure @@ -47,7 +47,7 @@ setenv = {tty:MYPY_FORCE_COLOR = 1} deps = mypy==0.971 - types-docutils + types-docutils>=0.19 commands = mypy --python-version 3.10 src mypy --python-version 3.10 tests @@ -61,8 +61,8 @@ setenv = skip_install = true deps = covdefaults>=2.2 - coverage>=6.3 - diff-cover>=6.4 + coverage>=6.4.2 + diff-cover>=6.5.1 extras = parallel_show_output = true commands = @@ -82,8 +82,8 @@ depends = description = check that the long description is valid (need for PyPI) skip_install = true deps = - build>=0.7 - twine>=4 + build[virtualenv]>=0.8 + twine>=4.0.1 extras = commands = pyproject-build -o {envtmpdir} --wheel --sdist .