Skip to content
Browse files

Whitelist instead of blacklist in flake8

  • Loading branch information
Lonami committed Dec 25, 2019
1 parent bdff616 commit 86bb4b4e6c5ed3a92c5aed68c7c31bc5ef2a46ce
Showing with 2 additions and 2 deletions.
  1. +2 −2 tox.ini
@@ -19,6 +19,6 @@ deps =
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/ --max-complexity=10 --max-line-length=127 --statistics
flake8 telethon/ telethon_generator/ tests/ --count --exit-zero --exclude telethon/tl/,telethon/errors/ --max-complexity=10 --max-line-length=127 --statistics

0 comments on commit 86bb4b4

Please sign in to comment.
You can’t perform that action at this time.