From ecd180bc11471b847201f0bae1e7e50427b5a772 Mon Sep 17 00:00:00 2001 From: Joel Vainikka Date: Tue, 9 Apr 2019 14:21:50 +0300 Subject: [PATCH] Add Flake8 configuration to setup.cfg Includes the max line length of 120 and excludes some auto generated python files --- setup.cfg | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/setup.cfg b/setup.cfg index 10e6d8ae2..d1aa8d461 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,3 +2,10 @@ description-file=README.md [aliases] test=pytest +[flake8] +max-line-length = 120 +count = true +statistics = true +exclude = + dexbot/views/ui/, + dexbot/resources/