Skip to content

Mypy mirror dependencies don't get updated

Summary

The dependencies from the mypy mirror (in pre-commit) are defined seperately in the .pre-commit-config.yml. They can't be imported/used from our pyproject.toml, so they have to be updated manually.

Explain your context

Mypy will only fail in pre-commit, not when running on itself or in the pipeline (as it then uses the correct dependencies).

What is the expected correct behavior? What was your goal?

Mypy mirror should have the same deps.

What is the current bug behavior?

Mypy mirror does not have the same deps.

Steps to reproduce

(How one can reproduce the issue - this is very important)

  • use old dependencies in the additional dependencies for mypy mirror.