Skip to content

Commit 46e334d

Browse files
committed
Add auto-formatter to tox
1 parent ea8f967 commit 46e334d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tox.ini

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,17 @@ deps =
1212
commands =
1313
python update.py {posargs}
1414

15+
[testenv:format]
16+
description = Run auto formatters
17+
skip_install = True
18+
deps =
19+
black
20+
isort
21+
commands =
22+
black .
23+
isort update.py
24+
25+
1526
[testenv:build]
1627
description = Build a wheel and source distribution
1728
skip_install = True

0 commit comments

Comments
 (0)