From c02478e0b2d1146b3d54be2f546feb22d967b017 Mon Sep 17 00:00:00 2001 From: Sylvain Bellemare Date: Thu, 22 Dec 2016 22:52:12 +0100 Subject: [PATCH] Add flake8 option to setup.cfg --- setup.cfg | 3 +++ tox.ini | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 0eb958cf..cdec23f1 100644 --- a/setup.cfg +++ b/setup.cfg @@ -4,3 +4,6 @@ test=pytest [coverage:run] source = . omit = *test* + +[flake8] +max_line_length = 119 diff --git a/tox.ini b/tox.ini index fee61c05..d2cd2a2c 100644 --- a/tox.ini +++ b/tox.ini @@ -23,7 +23,7 @@ deps = flake8 skip_install = True extras = None -commands = flake8 --max-line-length 119 bigchaindb tests +commands = flake8 bigchaindb tests [testenv:docsroot] basepython = {[base]basepython}