diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2018-10-02 09:46:29 +0200 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2018-10-02 09:46:29 +0200 |
commit | c6581e9871a356b73ccc640b1aeabd06f2590758 (patch) | |
tree | 4d24aac4c3564b4f78915f0634da7460ab68593b /tox.ini | |
parent | add5f7b8eba427de9d39caae864bbc6dc37ef980 (diff) | |
download | astroid-git-c6581e9871a356b73ccc640b1aeabd06f2590758.tar.gz |
Add black step in tox.ini and Travis, as well as the badge
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -38,6 +38,12 @@ commands = ; inside the package python -Wi {envsitepackagesdir}/coverage run -m pytest --pyarg astroid/tests {posargs:} +[testenv:formatting] +basepython = python3 +deps = black==18.6b4 +commands = black --check --exclude "tests/testdata" astroid +changedir = {toxinidir} + [testenv:coveralls] setenv = COVERAGE_FILE = {toxinidir}/.coverage |