diff options
author | Chayim <chayim@users.noreply.github.com> | 2021-10-28 12:46:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-28 12:46:04 +0300 |
commit | 8178997e2838d01dafe14dcf0a1d2d6c6a20f051 (patch) | |
tree | cc7e65929fdf5f9b30552383cb4b3f2a9c446e8e /tox.ini | |
parent | d8adb8af45248ad4597f47ac871ce69990022046 (diff) | |
download | redis-py-8178997e2838d01dafe14dcf0a1d2d6c6a20f051.tar.gz |
Adding vulture for static analysis (#1655)
* Adding vulture for static analysis
Removing dead code found previously by vulture in local runs.
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 29 |
1 files changed, 11 insertions, 18 deletions
@@ -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 |