-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
57 lines (37 loc) · 711 Bytes
/
Makefile
File metadata and controls
57 lines (37 loc) · 711 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
44
45
46
47
48
49
50
51
52
53
54
55
56
install:
pip install -e .[dev]
pre-commit install
dev:
pip install -e .[dev,docs]
test:
pytest -s
cov:
pytest --cov=KFactory plugins
mypy:
mypy . --ignore-missing-imports
pylint:
pylint KFactory plugins
ruff:
ruff --fix KFactory plugins/*.py
git-rm-merged:
git branch -D `git branch --merged | grep -v \* | xargs`
update:
pur
update-pre:
pre-commit autoupdate --bleeding-edge
git-rm-merged:
git branch -D `git branch --merged | grep -v \* | xargs`
release:
git push
git push origin --tags
build:
rm -rf dist
pip install build
python -m build
jupytext:
jupytext docs/**/*.ipynb --to py
notebooks:
jupytext docs/**/*.py --to ipynb
docs:
jb build docs
.PHONY: drc doc docs