From 04e5a2487c3bc36bcad0ff53e9a90b5ea66876b2 Mon Sep 17 00:00:00 2001 From: Paul Barker Date: Mon, 15 Jun 2020 23:03:02 +0200 Subject: [PATCH] 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 Signed-off-by: Jan Kiszka --- .flake8 | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .flake8 diff --git a/.flake8 b/.flake8 new file mode 100644 index 0000000..18c1794 --- /dev/null +++ b/.flake8 @@ -0,0 +1,2 @@ +[flake8] +select = C,E,F,W