Wrap black with script that skips it if Python version < 3.6.
Some checks failed
the build failed

This commit is contained in:
Dan Helfman 2018-10-15 09:20:35 -07:00
commit 1ab44d4201
2 changed files with 15 additions and 1 deletions

View file

@ -5,10 +5,11 @@ skipsdist = True
[testenv]
usedevelop = True
deps = -rtest_requirements.txt
whitelist_externals = bash
commands =
py.test --cov-report term-missing:skip-covered --cov=borgmatic --ignore=tests/end-to-end \
tests []
- black --skip-string-normalization --line-length 100 --check .
bash scripts/black
flake8 .
[testenv:black]