diff --git a/tox.ini b/tox.ini index c3dda59e..6ee822d9 100644 --- a/tox.ini +++ b/tox.ini @@ -28,3 +28,15 @@ deps = commands = sphinx-build -W -b html {toxinidir}/docs/source/ {toxinidir}/docs/build/html + +[testenv:format] +# An environment for formatting code. +deps = + black==24.* + isort==5.* + +skip_install = True + +commands = + black fabrictestbed_extensions tests + isort fabrictestbed_extensions tests