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

E741 ambiguous variable name 'l' between flake8 and pycodesyle #598

Closed
raminfp opened this issue Nov 9, 2016 · 6 comments
Closed

E741 ambiguous variable name 'l' between flake8 and pycodesyle #598

raminfp opened this issue Nov 9, 2016 · 6 comments

Comments

@raminfp
Copy link

raminfp commented Nov 9, 2016

Hi,

i test this on pycodestyle

l=0

output : E741 ambiguous variable name 'l'

but flake8 is wrapper of pycodestyle,... not found this, E741 why?

@spaceone
Copy link
Contributor

spaceone commented Nov 9, 2016

because flake8 doesn't use pycodestyle 2.1.0 yet.

@sigmavirus24
Copy link
Member

@spaceone is correct.

@spaceone
Copy link
Contributor

spaceone commented Nov 9, 2016

@raminfp Yes, flake8 will have to update its pycodestyle-compatibility. This is planned but probably takes a little time: See https://gitlab.com/pycqa/flake8/issues/246 PyCQA/flake8#7

@raminfp
Copy link
Author

raminfp commented Nov 9, 2016

Thanks again,

@raminfp
Copy link
Author

raminfp commented Nov 14, 2016

@spaceone sorry again for question!there is this warning E741 ambiguous variable name 'l' of pycodestyle on new version flake8?

@dhood
Copy link

dhood commented Oct 24, 2017

@raminfp FYI flake8 3.5.0 has E741 added https://gitlab.com/pycqa/flake8/commit/ee435593488a5c3b9805bc686b83d17505491c42

stephenfin added a commit to stephenfin/pluggy that referenced this issue Oct 29, 2017
This has been enabled in flake8 3.5.0, which imports pycodestyle 2.1.0
[1].

[1] PyCQA/pycodestyle#598

Signed-off-by: Stephen Finucane <[email protected]>
stephenfin added a commit to stephenfin/pluggy that referenced this issue Oct 29, 2017
The E741 (Ambiguous variable name) error has been enabled in flake8
3.5.0, which imports pycodestyle 2.1.0 [1]. Resolve the warnings.

[1] PyCQA/pycodestyle#598

Signed-off-by: Stephen Finucane <[email protected]>
sampsyo added a commit to beetbox/beets that referenced this issue Oct 29, 2017
As described in PyCQA/pycodestyle#598, pycodestyle has exposed a new
error for "ambiguous variable names." I really wish this project were
less eager to add new warnings of questionable value that are enabled by
default...
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

4 participants