Skip to content

feat(checks): add reStructuredText syntax checking #8190

feat(checks): add reStructuredText syntax checking

feat(checks): add reStructuredText syntax checking #8190

Triggered via pull request January 16, 2025 12:30
Status Success
Total duration 2m 18s
Artifacts

mypy.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors
mypy: weblate/settings_docker.py#L1265
Value of type "object" is not indexable
mypy: weblate/checks/markup.py#L18
Library stubs not installed for "docutils"
mypy: weblate/checks/markup.py#L19
Library stubs not installed for "docutils.core"
mypy: weblate/checks/markup.py#L20
Library stubs not installed for "docutils.nodes"
mypy: weblate/checks/markup.py#L401
Return type "bool | MissingExtraDict" of "check_single" incompatible with return type "bool" in supertype "TargetCheck"
mypy: weblate/checks/markup.py#L423
Incompatible types in assignment (expression has type "defaultdict[Never, list[Never]]", variable has type "MissingExtraDict")
mypy: weblate/checks/markup.py#L431
TypedDict key must be a string literal; expected one of ("missing", "extra", "errors")
mypy: weblate/checks/markup.py#L510
Return type "bool | MissingExtraDict" of "check_single" incompatible with return type "bool" in supertype "TargetCheck"
mypy: weblate/checks/markup.py#L524
Incompatible types in assignment (expression has type "defaultdict[Never, list[Never]]", variable has type "MissingExtraDict")
mypy: weblate/checks/markup.py#L532
TypedDict key must be a string literal; expected one of ("missing", "extra", "errors")
mypy
Process completed with exit code 1.