feat: base flask x gunicorn server
Python Lint CI / ruff-format-check (push) Successful in 1m21s
Python Lint CI / ruff (push) Successful in 1m21s
Python Lint CI / ty (push) Successful in 1m29s

This commit is contained in:
2026-06-30 17:09:16 +02:00
parent e19a9cfdcc
commit 83c8e4415b
8 changed files with 299 additions and 46 deletions
-38
View File
@@ -49,19 +49,6 @@ format: ruff-fix ruff-format ## format project
.PHONY: lint
lint: ruff ruff-format-check ty ## lint project
.PHONY: build
build: docker-build ## build project
.PHONY: test
test: unittest ## test project
.PHONY: test-%
test-%: ## test project with specific test
@$(MAKE) -s unittest-$*
.PHONY: coverage
coverage: coverage-unittest coverage-xml coverage-report ## test project with coverage
# TOOLS
.PHONY: uv-sync
@@ -92,31 +79,6 @@ ruff-format-check: .venv ## ruff format (check only)
ty: .venv ## ty check
@$(TY) check
.PHONY: unittest
unittest: .venv ## unittest
@$(UNITTEST) -v
.PHONY: unittest-%
unittest-%: .venv ## unittest -k [filter]
@$(UNITTEST) -v -k $*
.PHONY: coverage-unittest
coverage-unittest: .venv ## coverage run -m unittest
@$(COVERAGE) run -m unittest -v
.PHONY: coverage-report
coverage-report: .venv ## coverage report
@$(COVERAGE) report
.PHONY: coverage-html
coverage-html: .venv ## coverage html
@$(COVERAGE) html
@$(OPEN) htmlcov/index.html || true
.PHONY: coverage-xml
coverage-xml: .venv ## coverage xml
@$(COVERAGE) xml
.PHONY: release-%
release-%: .venv ## release major/minor/patch
$(UV) version --bump=$*