Skip to content

Commit 6c693dd

Browse files
committed
fix(clean): more stuff to clean
1 parent 0ef5422 commit 6c693dd

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

‎src/common_python_tasks/tasks.py‎

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -389,11 +389,19 @@ def clean(dist_only: bool = False) -> None:
389389
return
390390
else:
391391
to_clean = [
392-
*[Path(p) for p in [".pytest_cache", "dist", ".mypy_cache"]],
392+
*[
393+
Path(p)
394+
for p in [
395+
".pytest_cache",
396+
"dist",
397+
".mypy_cache",
398+
".coverage",
399+
"coverage.xml",
400+
".ruff_cache",
401+
]
402+
],
393403
*Path(".").rglob("__pycache__"),
394404
*Path(".").rglob("*.pyc"),
395-
Path(".coverage"),
396-
Path("coverage.xml"),
397405
]
398406

399407
for item in to_clean:

0 commit comments

Comments
 (0)