mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-08 22:04:17 +00:00
some manual python2 metadata cleanup
This commit is contained in:
parent
55f29c636f
commit
8cc3fc01e8
13 changed files with 14 additions and 79 deletions
20
tox.ini
20
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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue