Add posargs in tox.ini

This commit is contained in:
c-bata
2020-12-04 16:32:29 +09:00
parent a241a5742f
commit 4638a67f58
+7 -7
View File
@@ -10,28 +10,28 @@ envlist =
[testenv:py36]
basepython = python3.6
commands = python -m unittest
commands = python -m unittest {posargs}
[testenv:py37]
basepython = python3.7
commands = python -m unittest
commands = python -m unittest {posargs}
[testenv:py38]
basepython = python3.8
commands = python -m unittest
commands = python -m unittest {posargs}
[testenv:py39]
basepython = python3.9
commands = python -m unittest
commands = python -m unittest {posargs}
[testenv:flake8]
deps = flake8
commands = flake8 .
commands = flake8 . {posargs}
[testenv:black]
deps = black
commands = black --check .
commands = black --check . {posargs}
[testenv:mypy]
deps = mypy
commands = mypy .
commands = mypy . {posargs}