-
-
Notifications
You must be signed in to change notification settings - Fork 309
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
Reading from stdin doesn't work with the switch to pycodestyle [REPLACEMENT ISSUE] #520
Comments
In GitLab by @sigmavirus24 on Jul 13, 2016, 04:01 As in, plugins were unconditionally doing import pep8
# ....
pep8.get_stdin_value() or am I misunderstanding this? |
In GitLab by @xZise on Jul 13, 2016, 04:21 Yes that is correct. |
In GitLab by @sigmavirus24 on Jul 13, 2016, 04:45 So do we need to document that if you use
Because we still properly patch |
In GitLab by @xZise on Jul 13, 2016, 07:26 I guess that would work. As mentioned in #161 doing And yes the patching works anyways, but it only applies it to the module actually used. And this is afaik why this happens. |
In GitLab by @sigmavirus24 on Jul 14, 2016, 04:15
Right, we can make the patching continue to work in 3.0. That's something I'm aware of and planning to do.
Are you trying to say I should have continued patching pep8 anyway in 2.6? That I should continue patching pep8 as well in 3.0? |
In GitLab by @xZise on Jul 14, 2016, 13:57 Well patching in Flake8 3.x is afaik something that should be handled with #161. Regarding patching Now you could either say that plugin developers have to accomodate for that (and break them) or patch Anyway one key part is that at least I'd appreciate if there is some documentation, so that I don't have to test around and figure it out manually, when other plugins probably need to do it as well. And you code snippet with the version check from your comment is the preferred implementation? |
In GitLab by @sigmavirus24 on Jul 20, 2016, 06:16 mentioned in merge request !77 |
In GitLab by @sigmavirus24 on Jul 20, 2016, 06:49 Status changed to closed by commit d69cb05 |
In GitLab by @sigmavirus24 on Jul 20, 2016, 12:52 mentioned in commit leorochael/flake8@d69cb0564ada817b1cda5af49a552684466eb2dc |
The original issue
could not be created.
This is a dummy issue, replacing the original one. It contains everything but the original issue description. In case the gitlab repository is still existing, visit the following link to show the original issue:
TODO
The text was updated successfully, but these errors were encountered: