ubuntu@elastic-1:~$ dpkg -l | grep pyflakes
ii flake8 3.7.9-2 all code checker using pycodestyle and pyflakes
ii pyflakes 2.1.1-2 all passive checker of Python 2 programs
ii pyflakes3 2.1.1-2 all passive checker of Python 3 programs
ii python-pyflakes 2.1.1-2 all passive checker of Python 2 programs - Python modules
ii python3-flake8 3.7.9-2 all code checker using pycodestyle and pyflakes - Python 3.x
ii python3-pyflakes 2.1.1-2 all passive checker of Python 3 programs - Python modules
ubuntu@elastic-1:~$ flake8 test.py
"pyflakes" failed during execution due to "'FlakesChecker' object has no attribute 'NAMEDEXPR'"
Run flake8 with greater verbosity to see more details
test.py:2:10: E203 whitespace before ':'
test.py:2:11: E231 missing whitespace after ':'
test.py:2:24: E203 whitespace before ':'
After upgrade:
ubuntu@elastic-1:~$ dpkg -l | grep pyflakes
ii flake8 3.7.9-2 all code checker using pycodestyle and pyflakes
ii pyflakes 2.1.1-2ubuntu1 all passive checker of Python 2 programs
ii pyflakes3 2.1.1-2ubuntu1 all passive checker of Python 3 programs
ii python-pyflakes 2.1.1-2ubuntu1 all passive checker of Python 2 programs - Python modules
ii python3-flake8 3.7.9-2 all code checker using pycodestyle and pyflakes - Python 3.x
ii python3-pyflakes 2.1.1-2ubuntu1 all passive checker of Python 3 programs - Python modules
ubuntu@elastic-1:~$ flake8 test.py
test.py:2:9: F841 local variable 'y' is assigned to but never used
test.py:2:10: E203 whitespace before ':'
test.py:2:11: E231 missing whitespace after ':'
test.py:2:24: E203 whitespace before ':'
Testing done.
Before upgrade:
ubuntu@elastic-1:~$ dpkg -l | grep pyflakes
ii flake8 3.7.9-2 all code checker using pycodestyle and pyflakes
ii pyflakes 2.1.1-2 all passive checker of Python 2 programs
ii pyflakes3 2.1.1-2 all passive checker of Python 3 programs
ii python-pyflakes 2.1.1-2 all passive checker of Python 2 programs - Python modules
ii python3-flake8 3.7.9-2 all code checker using pycodestyle and pyflakes - Python 3.x
ii python3-pyflakes 2.1.1-2 all passive checker of Python 3 programs - Python modules
ubuntu@elastic-1:~$ flake8 test.py
"pyflakes" failed during execution due to "'FlakesChecker' object has no attribute 'NAMEDEXPR'"
Run flake8 with greater verbosity to see more details
test.py:2:10: E203 whitespace before ':'
test.py:2:11: E231 missing whitespace after ':'
test.py:2:24: E203 whitespace before ':'
After upgrade:
ubuntu@elastic-1:~$ dpkg -l | grep pyflakes
ii flake8 3.7.9-2 all code checker using pycodestyle and pyflakes
ii pyflakes 2.1.1-2ubuntu1 all passive checker of Python 2 programs
ii pyflakes3 2.1.1-2ubuntu1 all passive checker of Python 3 programs
ii python-pyflakes 2.1.1-2ubuntu1 all passive checker of Python 2 programs - Python modules
ii python3-flake8 3.7.9-2 all code checker using pycodestyle and pyflakes - Python 3.x
ii python3-pyflakes 2.1.1-2ubuntu1 all passive checker of Python 3 programs - Python modules
ubuntu@elastic-1:~$ flake8 test.py
test.py:2:9: F841 local variable 'y' is assigned to but never used
test.py:2:10: E203 whitespace before ':'
test.py:2:11: E231 missing whitespace after ':'
test.py:2:24: E203 whitespace before ':'