-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathMakefile
35 lines (27 loc) · 1.12 KB
/
Makefile
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
.PHONY: doc doccoverage
doc:
sphinx-apidoc --no-toc --module-first -f -e -o ./doc/sphinx/source/python-api ./pointcloudset pointcloudset/config.py pointcloudset/io/dataset/commandline.py pointcloudset/io/dataset/convert_rosbagconvert.py && cd doc/sphinx/ && make html
doccoverage:
docstr-coverage pointcloudset --skipmagic
test:
pytest --cov=pointcloudset tests
pytest --cov-append --current-env --nbval-lax doc/sphinx/source/tutorial_notebooks/usage.ipynb
pytest --cov-append --current-env --nbval-lax doc/sphinx/source/tutorial_notebooks/reading_las_pcd.ipynb
pytest --cov-append --current-env --nbval-lax tests/notebooks/test_plot_plane.ipynb
pytest --cov-append --current-env --nbval-lax tests/notebooks/test_readme.ipynb
pytest --cov-append --current-env --nbval-lax tests/notebooks/test_animate.ipynb
python -m coverage report -i
python -m coverage html -i
ruff:
ruff check pointcloudset
ruff-fix:
ruff check pointcloudset --fix
mypy:
mypy -p pointcloudset --ignore-missing-imports
sort-imports:
ruff check --select I --fix .
ruff format .
clean:
py3clean .
cd doc/sphinx/ && make $@
rm -r doc/sphinx/source/python-api