Commit 771eb0d3 authored by Laurent Peuch's avatar Laurent Peuch
Browse files

style: integrate black into tox.ini and gitlab-ci

parent b463e9c362ad
......@@ -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]
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 .
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment