-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
20 lines (17 loc) · 728 Bytes
/
Makefile
File metadata and controls
20 lines (17 loc) · 728 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# ------------------------------------------------------
# HELP
# ------------------------------------------------------
.PHONY: help
help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
# ------------------------------------------------------
# LOCAL COMMANDS
# ------------------------------------------------------
.PHONY: test_unit
test: ## Run unit tests
@poetry run pytest ./tests
# this linter just lints src/services/notification/ and tests folders.
# it should gradually covers all other parts of the code as soon all errors have been fixed
.PHONY: lint
lint: ## Run linters with auto-fix.
@poetry run pre-commit run --all-files