diff options
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -1,5 +1,5 @@ [tox] -envlist=py3,mypy +envlist=py3,mypy,black,black-run [testenv] deps = @@ -19,3 +19,17 @@ commands= deps = mypy >= 0.761 commands = mypy --ignore-missing-imports logilab + +[testenv:black] +basepython = python3 +skip_install = true +deps = + black >= 19.10b0 +commands = black --check . + +[testenv:black-run] +basepython = python3 +skip_install = true +deps = + black >= 19.10b0 +commands = black . |