Skip to content

tox: Bump mypy to 1.8.0

Antoine Lambert requested to merge anlambert/swh-journal:mypy-18-upgrade into master

Without the new type: ignore comment, the following error is reported:

swh/journal/pytest_plugin.py:105: error: Argument 1 to "evolve" has incompatible type "BaseModel"; expected an attrs class  [misc]
Found 1 error in 1 file (checked 17 source files)

Any idea for a proper fix ?

Related to swh/meta#5075 (closed).

Merge request reports