From 3ab9c1f16f33edc3e567dcb0921de9f416899716 Mon Sep 17 00:00:00 2001 From: antuarc Date: Fri, 16 Sep 2022 11:37:24 +1000 Subject: [PATCH] add Flake8 config file --- .flake8 | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .flake8 diff --git a/.flake8 b/.flake8 new file mode 100644 index 00000000..9a0d11a5 --- /dev/null +++ b/.flake8 @@ -0,0 +1,20 @@ +[flake8] +# @see https://flake8.pycqa.org/en/latest/user/configuration.html?highlight=.flake8 + +exclude = + ckan + .git + +# Extended output format. +format = pylint + +# Show the source of errors. +show_source = True + +max-complexity = 10 +max-line-length = 127 + +# List ignore rules one per line. +ignore = + C901 + W503