Skip to content

Commit fb727a1

Browse files
author
Gauvain Pocentek
committed
chore: add a tox job to run black
1 parent 794d64c commit fb727a1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tox.ini

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
minversion = 1.6
33
skipsdist = True
4-
envlist = py36,py35,py34,py27,pep8
4+
envlist = py36,py35,py34,py27,pep8,black
55

66
[testenv]
77
setenv = VIRTUAL_ENV={envdir}
@@ -18,6 +18,11 @@ commands =
1818
commands =
1919
flake8 {posargs} gitlab/
2020

21+
[testenv:black]
22+
basepython = python3
23+
commands =
24+
black {posargs} gitlab
25+
2126
[testenv:venv]
2227
commands = {posargs}
2328

0 commit comments

Comments
 (0)