Skip to content

Commit

Permalink
Add a tox environment for formatting code
Browse files Browse the repository at this point in the history
  • Loading branch information
sajith committed May 6, 2024
1 parent 70e4b38 commit cae7d13
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit cae7d13

Please sign in to comment.