-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathMakefile
More file actions
43 lines (35 loc) · 780 Bytes
/
Makefile
File metadata and controls
43 lines (35 loc) · 780 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
34
35
36
37
38
39
40
41
42
43
.PHONY: ci_requirements
ci_requirements:
python3 -m pip install uv
pip install --no-build-isolation -r requirements/development.txt
.PHONY: requirements
requirements:
python3 -m pip install uv
python -m uv pip install -U -r requirements/development.txt ${req_args}
.PHONY: check
check:
ruff check .
.PHONY: format
format:
ruff format .
.PHONY: coverage
coverage:
coverage run -m unittest
coverage report --show-missing --fail-under 99
.PHONY: test
test:
python -m unittest -v ${tests}
.PHONY: docs
docs:
sphinx-build -W -b html docs docs/_build/html
.PHONY: clean
clean:
rm -rf _build/
rm -rf _dist/
rm -rf ada_url.egg-info/
$(RM) ada_url/_ada_wrapper.abi3.so
$(RM) ada_url/ada.o
.PHONY: package
package:
python -m build --no-isolation
twine check dist/*