2021-08-31 13:57:38 +10:00
|
|
|
.PHONY: test
|
|
|
|
|
test:
|
2021-09-03 14:11:15 +10:00
|
|
|
pytest -p no:pytest-blender test
|
2021-08-31 13:57:38 +10:00
|
|
|
|
2021-09-09 21:27:23 +10:00
|
|
|
.PHONY: qa
|
|
|
|
|
qa:
|
|
|
|
|
black .
|
2021-09-10 10:01:06 +10:00
|
|
|
pylint ./* --output-format=colorized --disable all --enable E
|
2021-09-09 21:27:23 +10:00
|
|
|
|
2022-01-19 12:18:33 +11:00
|
|
|
.PHONY: license
|
|
|
|
|
license:
|
|
|
|
|
#copyright-header --license LGPL3 --copyright-holder "Thomas Krijnen <thomas@aecgeeks.com>" --copyright-year "2021" --copyright-software "IfcOpenShell" --copyright-software-description "IFC toolkit and geometry engine" -a ./ -o ./
|
|
|
|
|
copyright-header --license LGPL3 --copyright-holder "Dion Moult <dion@thinkmoult.com>" --copyright-year "2021" --copyright-software "IfcOpenShell" --copyright-software-description "IFC toolkit and geometry engine" -a ./ -o ./
|
|
|
|
|
|
2021-08-31 13:57:38 +10:00
|
|
|
.PHONY: coverage
|
|
|
|
|
coverage:
|
2021-09-20 10:17:16 +10:00
|
|
|
coverage run --source ifcopenshell -m pytest -p no:pytest-blender test
|
2021-08-31 13:57:38 +10:00
|
|
|
coverage html
|
|
|
|
|
xdg-open htmlcov/index.html
|
|
|
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
|
clean:
|
|
|
|
|
rm -rf htmlcov
|