Skip to content

Typing and testing improvements #159

Typing and testing improvements

Typing and testing improvements #159

Triggered via pull request August 8, 2024 13:47
@freddyheppellfreddyheppell
synchronize #46
typing
Status Failure
Total duration 33s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors
Ruff (UP035): src/wpextract/parse/translations/_pickers.py#L2
src/wpextract/parse/translations/_pickers.py:2:1: UP035 Import from `collections.abc` instead: `Sequence`
Ruff (F401): src/wpextract/parse/translations/_pickers.py#L2
src/wpextract/parse/translations/_pickers.py:2:20: F401 `typing.Any` imported but unused
Ruff (D202): src/wpextract/parse/translations/_pickers.py#L106
src/wpextract/parse/translations/_pickers.py:106:9: D202 No blank lines allowed after function docstring (found 1)
Ruff (I001): src/wpextract/util/html.py#L1
src/wpextract/util/html.py:1:1: I001 Import block is un-sorted or un-formatted
Ruff (F401): src/wpextract/util/html.py#L1
src/wpextract/util/html.py:1:23: F401 `_warnings.warn` imported but unused
Ruff (F401): src/wpextract/util/html.py#L2
src/wpextract/util/html.py:2:20: F401 `typing.TypeVar` imported but unused
lint
Process completed with exit code 1.
lint
Process completed with exit code 1.