Skip to content

Commit eb3bdf0

Browse files
committed
fix(mypy): fix type errs
1 parent de52cdb commit eb3bdf0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sphinx_autodoc_vyper/server.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from typing import NoReturn
99

1010

11-
def serve_docs(port: int = 8000) -> NoReturn:
11+
def serve_docs(port: int = 8000) -> NoReturn: # type: ignore [misc]
1212
"""Serve the documentation on a local development server."""
1313
build_dir = Path("docs/_build/html")
1414

tests/test_server.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def test_server_missing_docs(tmp_path: Path) -> None:
4242
serve_docs()
4343

4444

45-
def _get_free_port() -> int:
45+
def _get_free_port() -> int: # type: ignore [no-any-return]
4646
"""Get an available port number."""
4747
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
4848
s.bind(("", 0))

0 commit comments

Comments
 (0)