Skip to content

Commit 621a033

Browse files
authored
Fix CI (#175)
1 parent f61b1c6 commit 621a033

File tree

4 files changed

+10
-11
lines changed

4 files changed

+10
-11
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,11 @@ repos:
2020
- id: tox-ini-fmt
2121
args: ["-p", "fix"]
2222
- repo: https://github.com/tox-dev/pyproject-fmt
23-
rev: "2.1.3"
23+
rev: "2.1.4"
2424
hooks:
2525
- id: pyproject-fmt
26-
additional_dependencies: ["tox>=4.14.2"]
2726
- repo: https://github.com/astral-sh/ruff-pre-commit
28-
rev: "v0.5.0"
27+
rev: "v0.5.1"
2928
hooks:
3029
- id: ruff-format
3130
- id: ruff

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
build-backend = "hatchling.build"
33
requires = [
44
"hatch-vcs>=0.4",
5-
"hatchling>=1.24",
5+
"hatchling>=1.25",
66
]
77

88
[project]
@@ -39,12 +39,12 @@ dynamic = [
3939
"version",
4040
]
4141
dependencies = [
42-
"sphinx>=7.3.5",
42+
"sphinx>=7.3.7",
4343
]
4444
optional-dependencies.test = [
4545
"covdefaults>=2.3",
4646
"defusedxml>=0.7.1", # needed for sphinx.testing
47-
"pytest>=8.1.1",
47+
"pytest>=8.2.2",
4848
"pytest-cov>=5",
4949
]
5050
urls.Documentation = "https://github.com/tox-dev/sphinx-argparse-cli#sphinx-argparse-cli"

src/sphinx_argparse_cli/_logic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def __init__( # noqa: PLR0913
8282
lineno: int,
8383
content_offset: int,
8484
block_text: str,
85-
state: RSTState,
85+
state: RSTState[Any],
8686
state_machine: RSTStateMachine,
8787
) -> None:
8888
options.setdefault("group_title_prefix", None)

tox.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ commands =
3333
description = run static analysis and style check using flake8
3434
skip_install = true
3535
deps =
36-
pre-commit>=3.7
36+
pre-commit>=3.7.1
3737
pass_env =
3838
HOMEPATH
3939
PROGRAMDATA
@@ -44,8 +44,8 @@ commands =
4444
[testenv:type]
4545
description = run type check on code base
4646
deps =
47-
mypy==1.9
48-
types-docutils>=0.20.0.20240406
47+
mypy==1.10.1
48+
types-docutils>=0.21.0.20240704
4949
set_env =
5050
{tty:MYPY_FORCE_COLOR = 1}
5151
commands =
@@ -57,7 +57,7 @@ description = check that the long description is valid
5757
skip_install = true
5858
deps =
5959
build[virtualenv]>=1.2.1
60-
twine>=5
60+
twine>=5.1.1
6161
change_dir = {toxinidir}
6262
commands =
6363
python -m build --sdist --wheel -o {envtmpdir} .

0 commit comments

Comments
 (0)