diff options
author | Paul Belanger <pabelanger@redhat.com> | 2019-12-12 15:18:22 -0500 |
---|---|---|
committer | Paul Belanger <pabelanger@redhat.com> | 2019-12-12 15:18:22 -0500 |
commit | a7a2a16e96bae7f5e84b1d8d0cbc66bb2a1da31d (patch) | |
tree | e714fccf3bab988270004fa81ca7ac952dfa19c7 | |
parent | 84155f61501e3c512c0c3cd6a9ddf1f6639d4850 (diff) | |
download | vyos-ansible-old-a7a2a16e96bae7f5e84b1d8d0cbc66bb2a1da31d.tar.gz vyos-ansible-old-a7a2a16e96bae7f5e84b1d8d0cbc66bb2a1da31d.zip |
Add tox -eblack support
This allows a user to format their code.
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
-rw-r--r-- | tox.ini | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -7,6 +7,11 @@ skipsdist = True deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt +[testenv:black] +install_command = pip install {opts} {packages} +commands = + black -v -l79 {toxinidir} + [testenv:linters] install_command = pip install {opts} {packages} commands = |