| |
@@ -1,5 +1,5 @@
|
| |
[tox]
|
| |
- envlist = lint,py27,py34,py35,py36,docs
|
| |
+ envlist = pylint,py27,py34,py35,py36,docs
|
| |
# If the user is missing an interpreter, don't fail
|
| |
skip_missing_interpreters = True
|
| |
|
| |
@@ -14,8 +14,6 @@
|
| |
|
| |
[testenv:docs]
|
| |
changedir = docs
|
| |
- deps =
|
| |
- -rrequirements.txt
|
| |
whitelist_externals =
|
| |
mkdir
|
| |
rm
|
| |
@@ -24,13 +22,6 @@
|
| |
rm -rf _build/
|
| |
sphinx-build -W -b html -d {envtmpdir}/doctrees . _build/html
|
| |
|
| |
- [testenv:lint]
|
| |
- deps =
|
| |
- flake8 > 3.0
|
| |
+ [testenv:pylint]
|
| |
commands =
|
| |
- python -m flake8 {posargs}
|
| |
-
|
| |
- [flake8]
|
| |
- show-source = True
|
| |
- max-line-length = 100
|
| |
- exclude = .git,.tox,dist,*egg
|
| |
+ pylint --rcfile=pylint.rc waiverdb --reports=n
|
| |
Is pylint is ignoring all unused imports? If so, I think it's much better to explicitly mark unused imports to be ignored - it means the developers are aware it's not used and want it imported anyway.