Commit Graph

2 Commits

Author SHA1 Message Date
Paul Barker
e6d1d1718d flake8: Ignore obsolete warning W503
"Line break occurred before a binary operator (W503)" goes against PEP8
and has been superseded by W504.

See https://www.flake8rules.com/rules/W503.html.

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
2020-11-13 20:54:20 +01:00
Paul Barker
04e5a2487c Add flake8 config
When running the checkcode.sh script, if no flake8 config file is
present then all error codes will be emitted. This may include error
codes from flake8 plugins installed locally which are not relevant for
this project (such as the flake8-black plugin). To prevent this issue we
add a flake8 config file which enables the built-in error codes C, E, F
and W.

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
2020-06-17 07:59:51 +02:00