Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(Makefile): use pyclean v3 features #15

Merged
merged 1 commit into from
Jul 14, 2024

Conversation

alxdrcirilo
Copy link
Owner

No description provided.

@alxdrcirilo alxdrcirilo self-assigned this Jul 14, 2024
@alxdrcirilo alxdrcirilo linked an issue Jul 14, 2024 that may be closed by this pull request
@alxdrcirilo alxdrcirilo merged commit 5d8651e into master Jul 14, 2024
1 check passed
@alxdrcirilo alxdrcirilo deleted the 12-use-pyclean-v3-features branch July 14, 2024 08:39
@@ -1,12 +1,10 @@
.PHONY: clean format test all

clean:
pyclean .
rm -rf .pdb/ obsolete/ .mypy_cache/ .pytest_cache/ .ruff_cache/ htmlcov/ .coverage
pyclean . --debris mypy --erase .pdb/**/* .pdb/ obsolete/**/* obsolete/ --yes
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Watch out that this will only clear the mypy folder, but not any other debris (e.g. packaging folders, cache folders, pytest leftovers, etc.).

Of that's what you want and need, fine. Otherwise you need to add any other debris target you require (see the --help screen).

I know this is somewhat inconvenient. I've not sat down to come up with a better, more intuitive solution yet. 😟

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the heads up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use pyclean v3 features
2 participants