forked from predict-idlab/plotly-resampler
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (24 loc) · 610 Bytes
/
Makefile
File metadata and controls
29 lines (24 loc) · 610 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
black = black plotly_resampler examples tests
.PHONY: format
format:
ruff --fix plotly_resampler tests
$(black)
.PHONY: lint
lint:
poetry run ruff plotly_resampler tests
poetry run $(black) --check --diff
.PHONY: test
test:
poetry run pytest --cov-report term-missing --cov=plotly_resampler tests
.PHONY: clean
clean:
rm -rf `find . -name __pycache__`
rm -rf .cache
rm -rf .pytest_cache
rm -rf *.egg-info
rm -f .coverage
rm -rf build
rm -f `find . -type f -name '*.py[co]' `
rm -f `find . -type f -name '*~' `
rm -f `find . -type f -name '.*~' `
rm -f `find . -type f -name '*.cpython-*' `