Skip to content

Add mypy type checker to GitHub Actions #319

Add mypy type checker to GitHub Actions

Add mypy type checker to GitHub Actions #319

Triggered via pull request March 10, 2025 02:12
Status Failure
Total duration 1m 2s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

13 errors
flake8: server/players.py#L16
'server.gameconnection.GameConnection' imported but unused
flake8: server/players.py#L17
'server.games.Game' imported but unused
flake8
Process completed with exit code 1.
mypy: server/config.py#L181
By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
mypy: server/rating.py#L145
Signature of "update" incompatible with supertype "MutableMapping" [override]
mypy: server/rating.py#L145
Superclass:
mypy: server/rating.py#L145
def update(self, SupportsKeysAndGetItem[str, Rating], /, **kwargs: Rating) -> None
mypy: server/rating.py#L145
def update(self, Iterable[tuple[str, Rating]], /, **kwargs: Rating) -> None
mypy: server/rating.py#L145
def update(self, **kwargs: Rating) -> None
mypy: server/rating.py#L145
Subclass: