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

Missing backwards compatibility module for pyflakes #11736

Closed
tkiss80 opened this issue Apr 9, 2024 · 2 comments · Fixed by #11910
Closed

Missing backwards compatibility module for pyflakes #11736

tkiss80 opened this issue Apr 9, 2024 · 2 comments · Fixed by #11910
Labels
stubs: incomplete Annotations or sub-modules missing from an existing package or module

Comments

@tkiss80
Copy link

tkiss80 commented Apr 9, 2024

Hi!

I've recently noticed in the PyCharm IDE (which uses the typeshed stubs) that it marks the following as a problem:

from pyflakes.scripts import pyflakes

It says it cannot find the scripts module inside pyflakes. It is true that according the Git history, the pyflakes project moved the pyflakes.scripts.pyflakes module to pyflakes.api: link

However, it seems that later they added back the module for backwards compatibility, this time only importing the contents of the file from its new place: link

This is the current version: link

Would it be possible to update the pyflakes stubs according to above?

Thanks,
Tamas

@srittau srittau added the stubs: incomplete Annotations or sub-modules missing from an existing package or module label Apr 14, 2024
@srittau
Copy link
Collaborator

srittau commented Apr 14, 2024

PR welcome to add this module to our stubs.

@tkiss80
Copy link
Author

tkiss80 commented Apr 18, 2024

I’ll look into it, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stubs: incomplete Annotations or sub-modules missing from an existing package or module
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants