Commit 7b1e01f3 by Darren Weber Committed by Bryce Drennan

Add make targets for clean and format (#1266)

parent 9b516064
...@@ -16,6 +16,17 @@ list: ...@@ -16,6 +16,17 @@ list:
# required for list # required for list
no_targets__: no_targets__:
clean:
@rm -rf build dist .eggs *.egg-info
@rm -rf .benchmarks .coverage coverage.xml htmlcov report.xml .tox
@find . -type d -name '.mypy_cache' -exec rm -rf {} +
@find . -type d -name '__pycache__' -exec rm -rf {} +
@find . -type d -name '*pytest_cache*' -exec rm -rf {} +
@find . -type f -name "*.py[co]" -exec rm -rf {} +
format: clean
@poetry run black poetry/ tests/
# install all dependencies # install all dependencies
setup: setup-python setup: setup-python
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment