-
-
Notifications
You must be signed in to change notification settings - Fork 74
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (27 loc) · 700 Bytes
/
Makefile
File metadata and controls
33 lines (27 loc) · 700 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
30
31
32
33
black = black plotly_resampler examples tests
.PHONY: format
format:
poetry run $(black)
poetry run ruff check plotly_resampler tests
.PHONY: lint
lint:
poetry run ruff check plotly_resampler tests
poetry run $(black) --check --diff
.PHONY: test
test:
poetry run pytest --cov-report term-missing --cov=plotly_resampler tests
.PHONY: docs
docs:
poetry run mkdocs build -c -f mkdocs.yml
.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-*' `