diff options
| author | Bas van Beek <b.f.van.beek@vu.nl> | 2021-05-02 21:13:43 +0200 |
|---|---|---|
| committer | Bas van Beek <b.f.van.beek@vu.nl> | 2021-05-02 21:13:43 +0200 |
| commit | 6fa34d432722faaaf54f27fb9cb3b1b9e197e9fe (patch) | |
| tree | eb883958dad297e158f07456bf9c0f9b47ff4cde /tools | |
| parent | 15420c82f7ef2f91bc8cd18dd6eba25204873c16 (diff) | |
| download | numpy-6fa34d432722faaaf54f27fb9cb3b1b9e197e9fe.tar.gz | |
TST: Ignore the E704 pycodestyle error code
E704 (multiple statements on one line (def)) is a style rule not prescribed by PEP8. Furthermore, because it demands a function body it is needlessly inconvenient for static type checking, i.e. situation where this is no function body.
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/lint_diff.ini | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lint_diff.ini b/tools/lint_diff.ini index 7944ce224..710138b4a 100644 --- a/tools/lint_diff.ini +++ b/tools/lint_diff.ini @@ -1,5 +1,5 @@ [pycodestyle] max_line_length = 79 statistics = True -ignore = E121,E122,E123,E125,E126,E127,E128,E226,E251,E265,E266,E302,E402,E712,E721,E731,E741,W291,W293,W391,W503,W504 +ignore = E121,E122,E123,E125,E126,E127,E128,E226,E251,E265,E266,E302,E402,E704,E712,E721,E731,E741,W291,W293,W391,W503,W504 exclude = numpy/__config__.py,numpy/typing/tests/data |
