Created
June 6, 2019 10:43
-
-
Save jan-matejka/d0a1d8956b400f78838b737a8777b0a3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yac@remy % flake8 --select F811 a.py | |
(.venv-py35) -------------------------------------------------------------------------------- | |
~ | |
yac@remy % flake8 --select F811 a.py | |
(.venv-py35) -------------------------------------------------------------------------------- | |
~ | |
yac@remy % flake8 --select F811 b.py | |
(.venv-py35) -------------------------------------------------------------------------------- | |
~ | |
yac@remy % flake8 --select F811 c.py | |
c.py:3:8: F811 redefinition of unused 'bar' from line 1 | |
(.venv-py35) -------------------------------------------------------------------------------- | |
~ [1] | |
yac@remy % cat a.py | |
from foo import bar | |
def fn(bar): | |
pass | |
def foo(): | |
return bar | |
(.venv-py35) -------------------------------------------------------------------------------- | |
~ | |
yac@remy % cat b.py | |
def bar(): | |
pass | |
def fn(bar): | |
pass | |
(.venv-py35) -------------------------------------------------------------------------------- | |
~ | |
yac@remy % cat c.py | |
from foo import bar | |
def fn(bar): | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment