Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
logilab-mtconverter
Commits
29be52b1eef2
Commit
771eb0d3
authored
Jun 19, 2020
by
Laurent Peuch
Browse files
style: integrate black into tox.ini and gitlab-ci
parent
b463e9c362ad
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
29be52b1
...
...
@@ -19,6 +19,10 @@ check-manifest:
stage
:
tests
script
:
tox -e check-manifest
black
:
stage
:
tests
script
:
tox -e black
trigger-other-pipelines
:
only
:
refs
:
...
...
tox.ini
View file @
29be52b1
[tox]
envlist
=
py3,check-manifest
envlist
=
py3,check-manifest
,black
[testenv]
deps
=
...
...
@@ -26,3 +26,17 @@ deps =
check-manifest
commands
=
{envpython}
-m
check_manifest
{toxinidir}
[testenv:black]
basepython
=
python3
skip_install
=
true
deps
=
black
>=
19.10b0
commands
=
black --check .
[testenv:black-run]
basepython
=
python3
skip_install
=
true
deps
=
black
>=
19.10b0
commands
=
black .
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment