Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,11 @@ repos:
- id: tox-ini-fmt
args: ["-p", "fix"]
- repo: https://github.com/tox-dev/pyproject-fmt
rev: "2.1.3"
rev: "2.1.4"
hooks:
- id: pyproject-fmt
additional_dependencies: ["tox>=4.14.2"]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.5.0"
rev: "v0.5.1"
hooks:
- id: ruff-format
- id: ruff
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
build-backend = "hatchling.build"
requires = [
"hatch-vcs>=0.4",
"hatchling>=1.24",
"hatchling>=1.25",
]

[project]
Expand Down Expand Up @@ -39,12 +39,12 @@ dynamic = [
"version",
]
dependencies = [
"sphinx>=7.3.5",
"sphinx>=7.3.7",
]
optional-dependencies.test = [
"covdefaults>=2.3",
"defusedxml>=0.7.1", # needed for sphinx.testing
"pytest>=8.1.1",
"pytest>=8.2.2",
"pytest-cov>=5",
]
urls.Documentation = "https://github.com/tox-dev/sphinx-argparse-cli#sphinx-argparse-cli"
Expand Down
2 changes: 1 addition & 1 deletion src/sphinx_argparse_cli/_logic.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def __init__( # noqa: PLR0913
lineno: int,
content_offset: int,
block_text: str,
state: RSTState,
state: RSTState[Any],
state_machine: RSTStateMachine,
) -> None:
options.setdefault("group_title_prefix", None)
Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ commands =
description = run static analysis and style check using flake8
skip_install = true
deps =
pre-commit>=3.7
pre-commit>=3.7.1
pass_env =
HOMEPATH
PROGRAMDATA
Expand All @@ -44,8 +44,8 @@ commands =
[testenv:type]
description = run type check on code base
deps =
mypy==1.9
types-docutils>=0.20.0.20240406
mypy==1.10.1
types-docutils>=0.21.0.20240704
set_env =
{tty:MYPY_FORCE_COLOR = 1}
commands =
Expand All @@ -57,7 +57,7 @@ description = check that the long description is valid
skip_install = true
deps =
build[virtualenv]>=1.2.1
twine>=5
twine>=5.1.1
change_dir = {toxinidir}
commands =
python -m build --sdist --wheel -o {envtmpdir} .
Expand Down