Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mypy merges errors from files with similar names #49

Open
msherry opened this issue Feb 7, 2020 · 0 comments
Open

Mypy merges errors from files with similar names #49

msherry opened this issue Feb 7, 2020 · 0 comments

Comments

@msherry
Copy link
Owner

msherry commented Feb 7, 2020

Given the following directory structure,

.
├── pkg1
│   └── controller.py
└── pkg2
    └── controller.py

flycheck-pycheckers will merge mypy output for the two files named controller.py. Newer versions of mypy have started reporting output for all files involved, and the mypy lint runner, although it attempts to filter them out, doesn't do this correctly. This is exacerbated by the fact that the data dictionary received in fixup_data sometimes contains a full filepath, and sometimes just the filename, within the same run of mypy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant