Nirbheek Chauhan
cc58fdac33
setup.cfg: Don't warn about commented code
6 years ago
Xavier Claessens
aa879b7f0c
Fix issues found by flake8
7 years ago
Luke Shumaker
68d4c1e559
flake8: disable E731: do not assign a lambda expression, use a def
...
It has too many false positives. It was complaining about things like
if this:
fn = some_func
else:
fn = lambda x: ...
Where obviously, "fn" can't be a def, and it would be silly to introduce
some other name to use as the def, just to assign it to fn.
7 years ago
Nirbheek Chauhan
57ec097b5f
vs: Use CompilerArgs() for compile and link args
...
At the same time also fix the order in which they are added. They now
match the order used in the Ninja backend.
8 years ago
Nirbheek Chauhan
991ace04af
Disable E266 in flake8
...
Don't tell me how to format my comments!
8 years ago
Mike Sinkovsky
eea0670872
style: disable flake8 warnings E241, E251, E305, E401
8 years ago
Igor Gnatenko
8f5b67434d
setup.cfg: fix syntax
8 years ago
Jussi Pakkanen
c1e2f58443
Just say no.
8 years ago
Igor Gnatenko
f56458810d
setup.cfg: ignore couple of PEP8 errors
...
We don't care about E261 and temporarily ignore E501.
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
8 years ago
Jussi Pakkanen
4f836de5bd
Shut down the noise.
8 years ago
Igor Gnatenko
706c06dda7
add flake8 configuration
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
8 years ago