Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Prev Previous commit
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.
  • Loading branch information
Bas van Beek committed May 2, 2021
commit 6fa34d432722faaaf54f27fb9cb3b1b9e197e9fe
2 changes: 1 addition & 1 deletion tools/lint_diff.ini
Original file line number Diff line number Diff line change
@@ -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