From 76b5279fb73a800ddbd5bd174565eafcc73ff88f Mon Sep 17 00:00:00 2001 From: Peter Bittner Date: Fri, 4 Dec 2020 00:18:09 +0100 Subject: [PATCH] Add clean Tox target (run `tox -e clean`) --- tox.ini | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tox.ini b/tox.ini index d8c12f8..9387fdd 100644 --- a/tox.ini +++ b/tox.ini @@ -67,6 +67,15 @@ commands = {envpython} setup.py -q sdist bdist_wheel twine check dist/* +[testenv:clean] +description = Clean up bytecode and build artifacts +deps = pyclean +commands = + pyclean -v {toxinidir} + rm -rf .tox/ build/ dist/ django_analytical.egg-info/ .coverage coverage.xml +whitelist_externals = + rm + [bandit] exclude = .cache,.git,.tox,build,dist,docs,tests targets = .