From a7a2a16e96bae7f5e84b1d8d0cbc66bb2a1da31d Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Thu, 12 Dec 2019 15:18:22 -0500 Subject: Add tox -eblack support This allows a user to format their code. Signed-off-by: Paul Belanger --- tox.ini | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index ee0591c..dd64055 100644 --- a/tox.ini +++ b/tox.ini @@ -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 = -- cgit v1.2.3