Skip to content

Commit 13796de

Browse files
committed
Fix CI
Signed-off-by: Bernát Gábor <[email protected]>
1 parent aaaa0b8 commit 13796de

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ lint.select = [
7373
"ALL",
7474
]
7575
lint.ignore = [
76-
"ANN101", # no type annotation for self
7776
"ANN401", # allow Any as type annotation
7877
"COM812", # Conflict with formatter
7978
"CPY", # No copyright statements

src/sphinx_argparse_cli/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
def setup(app: Sphinx) -> dict[str, Any]:
1414
app.add_css_file("custom.css")
1515

16-
from ._logic import SphinxArgparseCli
16+
from ._logic import SphinxArgparseCli # noqa: PLC0415
1717

1818
app.add_directive(SphinxArgparseCli.name, SphinxArgparseCli)
1919
app.add_config_value("sphinx_argparse_cli_prefix_document", False, "env") # noqa: FBT003

tests/test_logic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def test_suppressed_action(build_outcome: str) -> None:
168168
],
169169
)
170170
def test_help_loader(example: str, output: str) -> None:
171-
from sphinx_argparse_cli._logic import load_help_text
171+
from sphinx_argparse_cli._logic import load_help_text # noqa: PLC0415
172172

173173
result = load_help_text(example)
174174
assert result == output

tests/test_sphinx_argparse_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33

44
def test_version() -> None:
5-
import sphinx_argparse_cli
5+
import sphinx_argparse_cli # noqa: PLC0415
66

77
assert sphinx_argparse_cli.__version__

0 commit comments

Comments
 (0)