Skip to content

Slow incremental run when single module has errors #4135

Closed
@JukkaL

Description

@JukkaL

mypy -i is slower than expected in the following scenario:

  • Check out fresh mypy repository
  • Create tiny module mypy.x that generates an error: echo '1 + ""' > mypy/x.py
  • Run mypy -i mypy
    • This takes a while, generates an error for mypy/x.py as expected
  • Run mypy -i mypy
    • This is as slow as the previous run, but caching should make this much faster

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions