Skip to content

Commit 776a375

Browse files
[pre-commit.ci] pre-commit autoupdate (#110)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent e74bfbc commit 776a375

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repos:
1414
- id: tox-ini-fmt
1515
args: ["-p", "fix"]
1616
- repo: https://github.com/tox-dev/pyproject-fmt
17-
rev: "0.12.0"
17+
rev: "0.12.1"
1818
hooks:
1919
- id: pyproject-fmt
2020
additional_dependencies: ["tox>=4.6.1"]
@@ -24,7 +24,7 @@ repos:
2424
- id: prettier
2525
args: ["--print-width=120", "--prose-wrap=always"]
2626
- repo: https://github.com/astral-sh/ruff-pre-commit
27-
rev: "v0.0.272"
27+
rev: "v0.0.275"
2828
hooks:
2929
- id: ruff
3030
args: [--fix, --exit-non-zero-on-fix]

src/sphinx_argparse_cli/_logic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
)
1515
from collections import defaultdict, namedtuple
1616
from pathlib import Path
17-
from typing import TYPE_CHECKING, Any, Iterator, cast
17+
from typing import TYPE_CHECKING, Any, ClassVar, Iterator, cast
1818

1919
from docutils.nodes import (
2020
Element,
@@ -55,7 +55,7 @@ def make_id(key: str) -> str:
5555
class SphinxArgparseCli(SphinxDirective):
5656
name = "sphinx_argparse_cli"
5757
has_content = False
58-
option_spec = {
58+
option_spec: ClassVar[dict[str, Any]] = {
5959
"module": unchanged_required,
6060
"func": unchanged_required,
6161
"hook": flag,

0 commit comments

Comments
 (0)