KEMBAR78
--incremental --follow-imports=silent run separately on different files does not produce errors · Issue #3639 · python/mypy · GitHub
Skip to content

--incremental --follow-imports=silent run separately on different files does not produce errors #3639

@mhahnenberg

Description

@mhahnenberg

On mypy version 0.511

# a.py
import b

b.foo(1, 2)
# b.py

def foo(a, b):
    # type: (int, int) -> str
    return a + b
> mypy --incremental --py2 --follow-imports=silent a.py  # No error, as expected.
> mypy --incremental --py2 --follow-imports=silent b.py  # No error where it was expected!
> mypy --incremental --py2 --follow-imports=normal b.py  # Error

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions