04e5a2487c
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>
3 lines
26 B
INI
3 lines
26 B
INI
[flake8]
|
|
select = C,E,F,W
|