Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fb727a1

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

File tree

Expand file treeCollapse file tree

1 file changed

+6
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-1
lines changed
Open diff view settings
Collapse file

‎tox.ini‎

Copy file name to clipboardExpand all lines: tox.ini
+6-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.