forked from baloise/gitopscli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (26 loc) · 667 Bytes
/
Makefile
File metadata and controls
38 lines (26 loc) · 667 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
init:
poetry install
pre-commit install
format:
poetry run ruff format gitopscli tests
poetry run ruff gitopscli tests --fix
format-check:
poetry run ruff format gitopscli tests --check
lint:
poetry run ruff gitopscli tests
mypy:
poetry run mypy --install-types --non-interactive .
test:
poetry run pytest -vv -s --typeguard-packages=gitopscli
coverage:
coverage run -m pytest
coverage html
coverage report
checks: format-check lint mypy test
image:
DOCKER_BUILDKIT=1 docker build --progress=plain -t gitopscli:latest .
docs:
mkdocs serve
update:
poetry lock
.PHONY: init format format-check lint mypy test coverage checks image docs update