From ad4cddfb3b684b21ddcbf3ac8bc9a29fc0c9c81c Mon Sep 17 00:00:00 2001 From: Dorian Pula Date: Tue, 23 May 2017 15:49:30 -0700 Subject: [PATCH] Add Flake8 definitions and as a dependency. --- dev-requirements.txt | 1 + setup.cfg | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/dev-requirements.txt b/dev-requirements.txt index cecc434c6..c7a4d4a0d 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -9,3 +9,4 @@ releases>=1.1.0,<2.0 semantic_version<3.0 wheel==0.24 twine==1.5 +flake8==3.3.0 diff --git a/setup.cfg b/setup.cfg index 1a8f89dec..2abe6f02a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,3 +3,8 @@ universal = 1 [coverage:run] omit = paramiko/_winapi.py + +[flake8] +exclude = sites,.git,build,dist,alt_env,appveyor +ignore = E124,E125,E128,E261,E301,E302,E303 +max-line-length = 79