summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2021-03-29 17:29:36 -0700
committerAnthony Sottile <asottile@umich.edu>2021-03-30 17:37:12 -0700
commit8cc3fc01e8d06b2eb6fa59332b598b2c638a4d40 (patch)
tree6da61e3c11fb0701367c2e280c35fbd461bea408 /tox.ini
parent55f29c636f8eb80ec6544169c59ff3ab7733d1a1 (diff)
downloadflake8-8cc3fc01e8d06b2eb6fa59332b598b2c638a4d40.tar.gz
some manual python2 metadata cleanup
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini20
1 files changed, 1 insertions, 19 deletions
diff --git a/tox.ini b/tox.ini
index 85423ec..26a60d4 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,10 +1,9 @@
[tox]
minversion=2.3.1
-envlist = py27,py35,py36,py37,py38,flake8,linters,docs
+envlist = py36,py37,py38,flake8,linters,docs
[testenv]
deps =
- mock>=2.0.0
pytest!=3.0.5,!=5.2.3
coverage
commands =
@@ -14,14 +13,8 @@ commands =
# ensure 100% coverage of tests
coverage report --fail-under 100 --include tests/*
-[testenv:venv]
-deps =
- .
-commands = {posargs}
-
# Dogfood our current master version
[testenv:dogfood]
-basepython = python3
skip_install = true
deps =
wheel
@@ -33,7 +26,6 @@ commands =
# Linters
[testenv:flake8]
-basepython = python3
skip_install = true
deps =
flake8
@@ -46,7 +38,6 @@ commands =
flake8 src/flake8/ tests/ setup.py
[testenv:pylint]
-basepython = python3
skip_install = true
deps =
pyflakes
@@ -55,7 +46,6 @@ commands =
pylint src/flake8
[testenv:doc8]
-basepython = python3
skip_install = true
deps =
sphinx
@@ -64,14 +54,12 @@ commands =
doc8 docs/source/
[testenv:pre-commit]
-basepython = python3
skip_install = true
deps = pre-commit
commands =
pre-commit run --all-files --show-diff-on-failure
[testenv:bandit]
-basepython = python3
skip_install = true
deps =
bandit
@@ -79,7 +67,6 @@ commands =
bandit -r src/flake8/ -c .bandit.yml
[testenv:linters]
-basepython = python3
skip_install = true
deps =
{[testenv:flake8]deps}
@@ -96,7 +83,6 @@ commands =
# Documentation
[testenv:docs]
-basepython = python3
deps =
-rdocs/source/requirements.txt
commands =
@@ -104,7 +90,6 @@ commands =
sphinx-build -E -W -c docs/source/ -b man docs/source/ docs/build/man
[testenv:serve-docs]
-basepython = python3
skip_install = true
changedir = docs/build/html
deps =
@@ -112,7 +97,6 @@ commands =
python -m http.server {posargs}
[testenv:readme]
-basepython = python3
deps =
readme_renderer
commands =
@@ -120,7 +104,6 @@ commands =
# Release tooling
[testenv:build]
-basepython = python3
skip_install = true
deps =
wheel
@@ -129,7 +112,6 @@ commands =
python setup.py -q sdist bdist_wheel
[testenv:release]
-basepython = python3
skip_install = true
deps =
{[testenv:build]deps}