Commit 1d97d5eb authored by Laurent Peuch's avatar Laurent Peuch
Browse files

chore(tox): integrate black

parent 85a0cef61626
......@@ -6,5 +6,8 @@ before_script:
flake8:
script: tox -e flake8
black:
script: tox -e black
py3:
script: tox -e py3
[tox]
envlist = py3,flake8
envlist = py3,flake8,black
[testenv]
deps =
......@@ -25,3 +25,17 @@ exclude = cubicweb_signedrequest/migration/*,.tox/*
format = pylint
ignore = W503, E203, E731, E231
max-line-length = 100
[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