Use Black code formatter as part of running automated tests.
This commit is contained in:
parent
3db17277b4
commit
76d6a69f5a
37 changed files with 484 additions and 592 deletions
9
tox.ini
9
tox.ini
|
|
@ -5,4 +5,11 @@ skipsdist=True
|
|||
[testenv]
|
||||
usedevelop=True
|
||||
deps=-rtest_requirements.txt
|
||||
commands = py.test --cov-report term-missing:skip-covered --cov=borgmatic borgmatic []
|
||||
commands =
|
||||
py.test --cov-report term-missing:skip-covered --cov=borgmatic borgmatic []
|
||||
black --skip-string-normalization --line-length 100 --check .
|
||||
|
||||
[testenv:black]
|
||||
basepython=python3.7
|
||||
commands =
|
||||
black --skip-string-normalization --line-length 100 .
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue