Skip to content

Commit

Permalink
Clean up tox.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Feb 6, 2023
1 parent 2eedf6d commit ae9ed07
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
4 changes: 4 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[flake8]
ignore = E203,W503,W504,E741

# vim: ft=dosini
24 changes: 12 additions & 12 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
[flake8]
ignore = E203,W503,W504,E741


[tox]
envlist = pre-commit,mypy,py37,py38,py39,py310,py311,py39-colorama,py311-be,py311-rich,docs,coverage-report
envlist =
pre-commit,
mypy,
py37,
py38,
py39,py39-colorama,
py310,
py311,py311-{be,rich},
docs,
coverage-report
isolated_build = true


Expand Down Expand Up @@ -36,16 +41,11 @@ commands = python -m pytest {posargs}


# For missing types we get from typing-extensions
[testenv:py37]
[testenv:py3{7,11}]
deps = twisted
commands = python -m coverage run -m pytest {posargs}


[testenv:py311]
deps = twisted
commands = {[testenv:py37]commands}


[testenv:py39-colorama]
deps = colorama
commands = python -m coverage run -m pytest tests/test_dev.py {posargs}
Expand All @@ -67,7 +67,7 @@ basepython = python3.11
deps = coverage[toml]
skip_install = true
parallel_show_output = true
depends = py37,py311,py39-colorama,py311-be,py311-rich
depends = py37,py39-colorama,py311,py311-{be,rich}
commands =
python -m coverage combine
python -m coverage report
Expand Down

0 comments on commit ae9ed07

Please sign in to comment.