Skip to content

Commit 0f03936

Browse files
[pre-commit.ci] pre-commit autoupdate (#249)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Bernát Gábor <[email protected]>
1 parent 5bb2358 commit 0f03936

File tree

5 files changed

+26
-30
lines changed

5 files changed

+26
-30
lines changed

.github/workflows/check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
py:
20-
- "3.11.0-beta.4"
20+
- "3.11.0-beta.5"
2121
- "3.10"
2222
- "3.9"
2323
- "3.8"

.pre-commit-config.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ repos:
1212
- id: end-of-file-fixer
1313
- id: trailing-whitespace
1414
- repo: https://github.com/asottile/pyupgrade
15-
rev: v2.37.2
15+
rev: v2.37.3
1616
hooks:
1717
- id: pyupgrade
1818
args: [ "--py37-plus" ]
@@ -33,7 +33,7 @@ repos:
3333
rev: v1.12.1
3434
hooks:
3535
- id: blacken-docs
36-
additional_dependencies: [ black==21.12b0 ]
36+
additional_dependencies: [ black==22.6 ]
3737
- repo: https://github.com/pre-commit/pygrep-hooks
3838
rev: v1.9.0
3939
hooks:
@@ -44,19 +44,19 @@ repos:
4444
- id: tox-ini-fmt
4545
args: [ "-p", "fix" ]
4646
- repo: https://github.com/asottile/setup-cfg-fmt
47-
rev: v1.20.2
47+
rev: v2.0.0
4848
hooks:
4949
- id: setup-cfg-fmt
5050
args: [ --min-py3-version, "3.7", "--max-py-version", "3.10" ]
5151
- repo: https://github.com/PyCQA/flake8
52-
rev: 4.0.1
52+
rev: 5.0.2
5353
hooks:
5454
- id: flake8
5555
additional_dependencies:
56-
- flake8-bugbear==22.1.11
57-
- flake8-comprehensions==3.8
56+
- flake8-bugbear==22.7.1
57+
- flake8-comprehensions==3.10
5858
- flake8-pytest-style==1.6
59-
- flake8-spellcheck==0.24
60-
- flake8-unused-arguments==0.0.9
61-
- flake8-noqa==1.2.1
62-
- pep8-naming==0.12.1
59+
- flake8-spellcheck==0.28
60+
- flake8-unused-arguments==0.0.11
61+
- flake8-noqa==1.2.8
62+
- pep8-naming==0.13.1

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools>=50", "setuptools_scm>=6"]
2+
requires = ["setuptools>=63.4", "setuptools_scm>=7.0.5"]
33
build-backend = 'setuptools.build_meta'
44

55
[tool.black]

setup.cfg

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ classifiers =
1616
Programming Language :: Python
1717
Programming Language :: Python :: 3
1818
Programming Language :: Python :: 3 :: Only
19-
Programming Language :: Python :: 3.7
20-
Programming Language :: Python :: 3.8
21-
Programming Language :: Python :: 3.9
22-
Programming Language :: Python :: 3.10
2319
Topic :: Documentation :: Sphinx
2420
download_url = https://github.com/tox-dev/sphinx-autodoc-typehints/archive/main.zip
2521
project_urls =
@@ -30,7 +26,7 @@ project_urls =
3026
[options]
3127
packages = find:
3228
install_requires =
33-
Sphinx>=4.5
29+
Sphinx>=5.1.1
3430
python_requires = >=3.7
3531
package_dir =
3632
=src
@@ -41,15 +37,15 @@ where = src
4137
[options.extras_require]
4238
testing =
4339
covdefaults>=2.2
44-
coverage>=6.3
45-
diff-cover>=6.4
46-
nptyping>=2.1.2
47-
pytest>=7.1
40+
coverage>=6.4.2
41+
diff-cover>=6.5.1
42+
nptyping>=2.2
43+
pytest>=7.1.2
4844
pytest-cov>=3
49-
sphobjinv>=2
50-
typing-extensions>=4.1
45+
sphobjinv>=2.2.2
46+
typing-extensions>=4.3
5147
type_comments =
52-
typed-ast>=1.5.2;python_version < "3.8"
48+
typed-ast>=1.5.4;python_version < "3.8"
5349

5450
[options.package_data]
5551
sphinx_autodoc_typehints = py.typed

tox.ini

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ wheel_build_env = .pkg
3737
description = format the code base to adhere to our styles, and complain about what we cannot do automatically
3838
skip_install = true
3939
deps =
40-
pre-commit>=2
40+
pre-commit>=2.20
4141
commands =
4242
pre-commit run --all-files --show-diff-on-failure
4343

@@ -47,7 +47,7 @@ setenv =
4747
{tty:MYPY_FORCE_COLOR = 1}
4848
deps =
4949
mypy==0.971
50-
types-docutils
50+
types-docutils>=0.19
5151
commands =
5252
mypy --python-version 3.10 src
5353
mypy --python-version 3.10 tests
@@ -61,8 +61,8 @@ setenv =
6161
skip_install = true
6262
deps =
6363
covdefaults>=2.2
64-
coverage>=6.3
65-
diff-cover>=6.4
64+
coverage>=6.4.2
65+
diff-cover>=6.5.1
6666
extras =
6767
parallel_show_output = true
6868
commands =
@@ -82,8 +82,8 @@ depends =
8282
description = check that the long description is valid (need for PyPI)
8383
skip_install = true
8484
deps =
85-
build>=0.7
86-
twine>=4
85+
build[virtualenv]>=0.8
86+
twine>=4.0.1
8787
extras =
8888
commands =
8989
pyproject-build -o {envtmpdir} --wheel --sdist .

0 commit comments

Comments
 (0)