Dylan Baker
29ef4478df
compilers/d: Add b_ndebug support
...
D lang compilers have an option -release (or similar) which turns off
asserts, contracts, and other runtime type checking. This patch wires
that up to the b_ndebug flag.
Fixes #7082
5 years ago
Michael Hirsch, Ph.D
6727e5f5ad
add missing commas
5 years ago
Michael Hirsch, Ph.D
4b9625ac06
ENH: metadata PEP390 setup.cfg
...
https for Meson docs url
Co-Authored-By: Elliott Sales de Andrade <quantum.analyst@gmail.com>
5 years ago
Daniel Mensinger
e75211d321
Fix builtin variable names
6 years ago
Xavier Claessens
0e7513e734
flake8: ignore W504: line break after binary operator
...
It wasn't an error before, and plenty of files does that.
6 years ago
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