diff --git a/tox.ini b/tox.ini index dfcc55c045ad9c6fdad9165816fd193056ca3467_dG94LmluaQ==..31f57d30b5e3f6916947adc6ef2658843b88741e_dG94LmluaQ== 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py3,flake8, check-manifest, yamllint +envlist = py3,flake8, check-manifest, yamllint, black [testenv] deps = @@ -54,3 +54,17 @@ deps = yamllint commands = yamllint . + +[testenv:black] +basepython = python3 +skip_install = true +deps = + black >= 22.12 +commands = black --check . + +[testenv:black-run] +basepython = python3 +skip_install = true +deps = + black >= 22.12 +commands = black . \ No newline at end of file