From 1c8335289acbcf85083eb808278dfc0943050884 Mon Sep 17 00:00:00 2001 From: Chris Kerr Date: Sun, 12 May 2019 08:33:00 +0200 Subject: [PATCH] Add flake8 configuration --- .flake8 | 2 ++ tox.ini | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 .flake8 diff --git a/.flake8 b/.flake8 new file mode 100644 index 0000000..ac8f3fb --- /dev/null +++ b/.flake8 @@ -0,0 +1,2 @@ +# This file will be ignored - see http://flake8.pycqa.org/en/2.6.0/config.html#per-project +# Edit the [flake8] section in tox.ini instead diff --git a/tox.ini b/tox.ini index ca5b805..1657e13 100644 --- a/tox.ini +++ b/tox.ini @@ -3,3 +3,6 @@ envlist = py27,py35,py37 [testenv] deps=pytest commands=pytest + +[flake8] +exclude = build,dist,*.egg-info,.cache,.git,.tox,__pycache__