From 86bb4b4e6c5ed3a92c5aed68c7c31bc5ef2a46ce Mon Sep 17 00:00:00 2001 From: Lonami Exo Date: Wed, 25 Dec 2019 12:58:09 +0100 Subject: [PATCH] Whitelist instead of blacklist in flake8 --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index eb52c09d..8c9d6390 100644 --- a/tox.ini +++ b/tox.ini @@ -19,6 +19,6 @@ deps = flake8 commands = # stop the build if there are Python syntax errors or undefined names - flake8 . --count --select=E9,F63,F7,F82 --exclude telethon_examples/ --show-source --statistics + flake8 telethon/ telethon_generator/ tests/ --count --select=E9,F63,F7,F82 --show-source --statistics # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide - flake8 . --count --exit-zero --exclude telethon/tl/,telethon_examples/,telethon/errors/rpcerrorlist.py --max-complexity=10 --max-line-length=127 --statistics + flake8 telethon/ telethon_generator/ tests/ --count --exit-zero --exclude telethon/tl/,telethon/errors/rpcerrorlist.py --max-complexity=10 --max-line-length=127 --statistics