Skip to content

Commit 4f275f5

Browse files
authored
Bump deps and tools (#336)
1 parent daf59ec commit 4f275f5

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ repos:
4848
hooks:
4949
- id: flake8
5050
additional_dependencies:
51-
- flake8-bugbear==23.2.13
52-
- flake8-comprehensions==3.10.1
51+
- flake8-bugbear==23.3.12
52+
- flake8-comprehensions==3.11.1
5353
- flake8-pytest-style==1.7.2
5454
- flake8-spellcheck==0.28
5555
- flake8-unused-arguments==0.0.13
56-
- flake8-noqa==1.3
56+
- flake8-noqa==1.3.1
5757
- pep8-naming==0.13.3
5858
- repo: https://github.com/pre-commit/mirrors-prettier
5959
rev: "v2.7.1"

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ optional-dependencies.docs = [
4343
]
4444
optional-dependencies.testing = [
4545
"covdefaults>=2.2.2",
46-
"coverage>=7.2",
46+
"coverage>=7.2.2",
4747
"diff-cover>=7.5",
4848
"nptyping>=2.5",
49-
"pytest>=7.2.1",
49+
"pytest>=7.2.2",
5050
"pytest-cov>=4",
5151
"sphobjinv>=2.3.1",
5252
"typing-extensions>=4.5",

src/sphinx_autodoc_typehints/attributes_patch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def add_directive_header(*args: Any, **kwargs: Any) -> Any:
5454
with patch(STRINGIFY_PATCH_TARGET, partial(stringify_annotation, app)):
5555
return orig_add_directive_header(*args, **kwargs)
5656

57-
AttributeDocumenter.add_directive_header = add_directive_header # type:ignore[assignment]
57+
AttributeDocumenter.add_directive_header = add_directive_header # type:ignore[method-assign]
5858

5959

6060
def rst_to_docutils(settings: Values, rst: str) -> Any:
@@ -85,7 +85,7 @@ def patch_attribute_handling(app: Sphinx) -> None:
8585
"""Use format_signature to format class attribute type annotations"""
8686
if not OKAY_TO_PATCH:
8787
return
88-
PyAttribute.handle_signature = patched_handle_signature # type:ignore[assignment]
88+
PyAttribute.handle_signature = patched_handle_signature # type:ignore[method-assign]
8989
patch_attribute_documenter(app)
9090

9191

tox.ini

Lines changed: 4 additions & 4 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>=3.1
40+
pre-commit>=3.2
4141
commands =
4242
pre-commit run --all-files --show-diff-on-failure
4343

@@ -46,7 +46,7 @@ description = run type check on code base
4646
setenv =
4747
{tty:MYPY_FORCE_COLOR = 1}
4848
deps =
49-
mypy==1.0.1
49+
mypy==1.1.1
5050
types-docutils>=0.19.1.6
5151
commands =
5252
mypy --python-version 3.10 src
@@ -60,8 +60,8 @@ setenv =
6060
COVERAGE_FILE = {toxworkdir}/.coverage
6161
skip_install = true
6262
deps =
63-
covdefaults>=2.2.2
64-
coverage>=7.2
63+
covdefaults>=2.3
64+
coverage>=7.2.2
6565
diff-cover>=7.5
6666
extras =
6767
parallel_show_output = true

0 commit comments

Comments
 (0)