Jun-02-2017, 06:57 AM
Jun-02-2017, 07:20 AM
I have both installed in Atom eg linter-flake8,
use flake8 sometimes,has both always off when writing code if not they are annoying.
Now do i know PEP-8 well,and follow the most of it.
use flake8 sometimes,has both always off when writing code if not they are annoying.
Now do i know PEP-8 well,and follow the most of it.
Jun-02-2017, 08:13 AM
Thanks for your response.
My query is specifically do flake-8/PEP-8 catch the scripting errors or they catch the styling issues in the code.
In the other side, pyflakes catches the scripting errors.
My query is specifically do flake-8/PEP-8 catch the scripting errors or they catch the styling issues in the code.
In the other side, pyflakes catches the scripting errors.
Jun-02-2017, 07:54 PM
Quote:My query is specifically do flake-8/PEP-8 catch the scripting errors or they catch the styling issues in the code.Flake8 bring together pep8 and pyflakes.
Quote:flake8: pep8 + pyflakes + moreCatch mostly style issues,it do warn for some stuff that be error in code.
Tarek Ziadé wrote Flake8, which brings together pep8 and pyflakes in one convenient standalone package.
You don’t even need separate installations of pep8 or pyflakes,
since those come baked in to Flake8.
You can install it withpip install flake8
.
Like eg if write
self.name = nam
it will warn on undefined name nam
.