Skip to content

Commit

Permalink
Add PyClean to Tox configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
bittner committed Mar 31, 2024
1 parent fcdf186 commit 6583151
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
[tox]
envlist = lint,format,py
envlist =
lint
format
py
clean

[testenv]
description = Unit tests and test coverage
Expand All @@ -22,3 +26,9 @@ description = Lightening-fast linting (Ruff)
skip_install = true
deps = ruff
commands = ruff check {posargs:--show-source .}

[testenv:clean]
description = Clean up Python bytecode and other debris
skip_install = true
deps = pyclean
commands = pyclean {posargs:. --debris}

0 comments on commit 6583151

Please sign in to comment.