From fc4b166980e7d7688c783a0aea0bb9039671c0cb Mon Sep 17 00:00:00 2001 From: JensDiemer Date: Wed, 30 Dec 2020 09:58:41 +0100 Subject: [PATCH] fix linting by addning flake8 config file --- .flake8 | 7 +++++++ .gitignore | 1 + 2 files changed, 8 insertions(+) create mode 100644 .flake8 diff --git a/.flake8 b/.flake8 new file mode 100644 index 0000000..6ad2ff9 --- /dev/null +++ b/.flake8 @@ -0,0 +1,7 @@ +# +# Move to pyproject.toml after: https://gitlab.com/pycqa/flake8/-/issues/428 +# +[flake8] +exclude = .pytest_cache, .tox, dist, htmlcov, local_test +ignore = F405 +max-line-length = 119 diff --git a/.gitignore b/.gitignore index 28e1b61..d4aff27 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ .* !.github !.editorconfig +!.flake8 !.gitignore __pycache__ secret.txt