mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-09 11:28:14 +08:00
Add posargs in tox.ini
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user