diff --git a/tox.ini b/tox.ini index 252c36db1f4c062649ad26a81645efa4f409e57d_dG94LmluaQ==..495aa83683c6c28d51715ab5424a2f1377d4b066_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 = @@ -53,3 +53,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