From bb0db7f64a0e5bb47961be9d9e52c1f496f6b96d Mon Sep 17 00:00:00 2001 From: tomaae <23486452+tomaae@users.noreply.github.com> Date: Mon, 2 Dec 2019 03:18:11 +0100 Subject: [PATCH] added flake8 and pylint config --- setup.cfg | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 setup.cfg diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..7c5c247 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,13 @@ +[flake8] +ignore = W191,W293,E265,E266,E117,E402 +max-line-length = 220 +max-complexity = 30 +exclude = + ./.git, + ./tests, + ./.github, + __pycache__, + ./docs + +[pylint] +disable = duplicate-code, invalid-name, mixed-indentation, missing-module-docstring, missing-class-docstring, missing-function-docstring, wrong-import-position, too-many-public-methods, too-many-return-statements, trailing-whitespace, bare-except, useless-return, bad-continuation, import-outside-toplevel