From e880083992116c4b62dbb90a9add0c3058d80ed0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=BDubom=C3=ADr=20Ku=C4=8Dera?= Date: Tue, 21 Nov 2017 00:41:32 +0100 Subject: [PATCH] Improve flake8 configuration --- .flake8 | 3 ++- Makefile | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.flake8 b/.flake8 index 1a7ebb8..24fc1b7 100644 --- a/.flake8 +++ b/.flake8 @@ -1,4 +1,5 @@ [flake8] +exclude = .git,.venv,__pycache__,build,dist +max-complexity = 10 max-line-length = 100 show-source = true -max-complexity = 10 diff --git a/Makefile b/Makefile index 93e92e0..b5ed414 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ install: pip install -e .[test] lint: - flake8 zxinglight/ tests/ docs/ setup.py + flake8 test: nosetests tests/