Skip to content

Commit 10d5f8d

Browse files
committed
Add PyClean to Tox configuration
1 parent bb9434b commit 10d5f8d

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

tox.ini

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
[tox]
2-
envlist = lint,format,py
2+
envlist =
3+
lint
4+
format
5+
py
6+
clean
37

48
[testenv]
59
description = Unit tests and test coverage
@@ -22,3 +26,9 @@ description = Lightening-fast linting (Ruff)
2226
skip_install = true
2327
deps = ruff
2428
commands = ruff check {posargs:--show-source .}
29+
30+
[testenv:clean]
31+
description = Clean up Python bytecode and other debris
32+
skip_install = true
33+
deps = pyclean
34+
commands = pyclean {posargs:. --debris}

0 commit comments

Comments
 (0)