File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 1- .PHONY : clean-pyc clean-build docs clean
1+ .PHONY : help clean clean-build clean-pyc clean-test test docs
22
33help :
44 @echo " clean - remove all build, test, coverage and Python artifacts"
55 @echo " clean-build - remove build artifacts"
66 @echo " clean-pyc - remove Python file artifacts"
7- @echo " clean-test - remove test and coverage artifacts"
8- @echo " test - run tests on every Python version with tox "
7+ @echo " clean-test - remove test, coverage and formatting artifacts"
8+ @echo " test - run tests with tox and format with ruff "
99 @echo " docs - generate Sphinx HTML documentation, including API docs"
1010
1111clean : clean-build clean-pyc clean-test
@@ -15,7 +15,9 @@ clean-build:
1515 rm -fr dist/
1616 rm -fr .eggs/
1717 find . -name ' *.egg-info' -exec rm -fr {} +
18- find . -name ' *.egg' -exec rm -f {} +
18+ # Directory .tox/, if it exists, contains subdirectories ending with
19+ # "egg", so we need to exclude it from the search.
20+ find . -name ' *.egg' -prune -name " .tox" -exec rm -f {} +
1921
2022clean-pyc :
2123 find . -name ' *.pyc' -exec rm -f {} +
@@ -27,6 +29,8 @@ clean-test:
2729 rm -fr .tox/
2830 rm -f .coverage
2931 rm -fr htmlcov/
32+ rm -fr .pytest_cache/
33+ rm -fr .ruff_cache/
3034
3135test :
3236 tox
You can’t perform that action at this time.
0 commit comments