Skip to content

Commit 897087a

Browse files
author
Thomas Preud'homme
committed
Extend mandatory Flake8 cleanness
With the wider Flake8 run clean, this commit makes it mandatory and removes the redundant narrower Flake8 call on the whitelist, removing the now useless whitelist. Reviewed By: tnfchris Differential Revision: https://reviews.llvm.org/D94842
1 parent cead054 commit 897087a

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

tox.ini

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
[base]
2-
3-
# Files we'd like to keep lint clean. Lets hope we can expand this list.
4-
whitelist_files = ./setup.py
5-
./deployment/
6-
./lnt/formats/
7-
./lnt/util/
8-
./lnt/tests/
9-
./lnt/testing/
10-
./tests/server/ui/
11-
121
[tox]
132
envlist = py27
143
py3
@@ -41,10 +30,8 @@ deps =
4130
flake8
4231

4332
commands =
44-
# Still lots of problems.
45-
- flake8 --statistics --exclude=./lnt/external/ ./lnt/ ./tests/ ./setup.py ./deployment/
46-
# But lets keep the clean files clean.
47-
flake8 {[base]whitelist_files}
33+
# Lets keep the clean files clean.
34+
flake8 --statistics --exclude=./lnt/external/ ./lnt/ ./tests/ ./setup.py ./deployment/
4835

4936
[testenv:docs]
5037
skip_install = true

0 commit comments

Comments
 (0)