|
@@ -8,21 +8,16 @@ usedevelop = True
|
|
deps = -rtest_requirements.txt
|
|
deps = -rtest_requirements.txt
|
|
whitelist_externals = sh
|
|
whitelist_externals = sh
|
|
commands =
|
|
commands =
|
|
- py.test --cov-report term-missing:skip-covered --cov=borgmatic --ignore=tests/end-to-end \
|
|
|
|
- tests []
|
|
|
|
|
|
+ pytest
|
|
sh scripts/black
|
|
sh scripts/black
|
|
flake8 .
|
|
flake8 .
|
|
|
|
|
|
[testenv:black]
|
|
[testenv:black]
|
|
basepython = python3.7
|
|
basepython = python3.7
|
|
commands =
|
|
commands =
|
|
- black --skip-string-normalization --line-length 100 .
|
|
|
|
|
|
+ black .
|
|
|
|
|
|
[testenv:end-to-end]
|
|
[testenv:end-to-end]
|
|
deps = -rtest_requirements.txt
|
|
deps = -rtest_requirements.txt
|
|
commands =
|
|
commands =
|
|
- py.test tests/end-to-end []
|
|
|
|
-
|
|
|
|
-[flake8]
|
|
|
|
-ignore = E501,W503
|
|
|
|
-exclude = *.*/*
|
|
|
|
|
|
+ pytest tests/end-to-end
|