summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini29
1 files changed, 11 insertions, 18 deletions
diff --git a/tox.ini b/tox.ini
index 67b7e75..211f69e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -6,7 +6,7 @@ markers =
[tox]
minversion = 3.2.0
requires = tox-docker
-envlist = {py35,py36,py37,py38,py39,pypy3}-{plain,hiredis}, flake8
+envlist = {py35,py36,py37,py38,py39,pypy3}-{plain,hiredis},linters
[docker:master]
name = master
@@ -102,9 +102,12 @@ docker =
lots-of-pythons
commands = /usr/bin/echo
-[testenv:flake8]
+[testenv:linters]
deps_files = dev_requirements.txt
-commands = flake8
+docker=
+commands =
+ flake8
+ vulture redis whitelist.py --min-confidence 80
skipsdist = true
skip_install = true
@@ -114,18 +117,8 @@ basepython = pypy3
[testenv:pypy3-hiredis]
basepython = pypy3
-#[testenv:codecov]
-#deps = codecov
-#commands = codecov
-#passenv =
-# REDIS_*
-# CI
-# CI_*
-# CODECOV_*
-# SHIPPABLE
-# GITHUB_*
-# VCS_*
-#
-#[testenv:covreport]
-#deps = coverage
-#commands = coverage report
+[flake8]
+exclude =
+ .venv,
+ .tox,
+ whitelist.py