-
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathMakefile
More file actions
23 lines (19 loc) · 562 Bytes
/
Makefile
File metadata and controls
23 lines (19 loc) · 562 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
PYTHON=poetry run
.PHONY: format
format:
$(PYTHON) ruff format immutabledict tests
$(PYTHON) ruff check --fix immutabledict tests
.PHONY: style
style:
$(PYTHON) ruff format --check immutabledict tests
$(PYTHON) ruff check immutabledict tests
# check multiple type checkers
$(PYTHON) pyright -- immutabledict tests
$(PYTHON) pyrefly check immutabledict tests
$(PYTHON) mypy immutabledict tests
.PHONY: test
test:
$(PYTHON) pytest tests --cov=immutabledict --cov-report=xml
.PHONY: build-doc
build-doc:
$(PYTHON) sphinx-build -M html docs docs/build