Create pycoverage extension #10389
Annotations
10 errors
Ruff (TCH003):
sphinx/ext/pycoverage.py#L15
sphinx/ext/pycoverage.py:15:19: TCH003 Move standard library import `types.FunctionType` into a type-checking block
|
Ruff (TCH003):
sphinx/ext/pycoverage.py#L15
sphinx/ext/pycoverage.py:15:33: TCH003 Move standard library import `types.MethodType` into a type-checking block
|
Ruff (TCH003):
sphinx/ext/pycoverage.py#L15
sphinx/ext/pycoverage.py:15:45: TCH003 Move standard library import `types.ModuleType` into a type-checking block
|
Ruff (UP035):
sphinx/ext/pycoverage.py#L16
sphinx/ext/pycoverage.py:16:1: UP035 Import from `collections.abc` instead: `Iterable`, `Sequence`
|
Ruff (ANN201):
sphinx/ext/pycoverage.py#L48
sphinx/ext/pycoverage.py:48:9: ANN201 Missing return type annotation for public function `init`
|
Ruff (ANN202):
sphinx/ext/pycoverage.py#L81
sphinx/ext/pycoverage.py:81:9: ANN202 Missing return type annotation for private function `_visit_module`
|
Ruff (ANN202):
sphinx/ext/pycoverage.py#L93
sphinx/ext/pycoverage.py:93:9: ANN202 Missing return type annotation for private function `_visit_class`
|
Ruff (ANN202):
sphinx/ext/pycoverage.py#L113
sphinx/ext/pycoverage.py:113:9: ANN202 Missing return type annotation for private function `_visit_func`
|
ruff
Process completed with exit code 1.
|
mypy
Process completed with exit code 1.
|