Skip to content

Commit fca5947

Browse files
authored
Merge pull request #478 from tisnik/lcore-584-add-missing-makefile-targets-info-documentation
LCORE-584: add missing Makefile targets into documentation
2 parents 3fa6d3f + ef4829e commit fca5947

File tree

2 files changed

+17
-11
lines changed

2 files changed

+17
-11
lines changed

Makefile

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ test-integration: ## Run integration tests tests
2020
@echo "Reports will be written to ${ARTIFACT_DIR}"
2121
COVERAGE_FILE="${ARTIFACT_DIR}/.coverage.integration" uv run python -m pytest tests/integration --cov=src --cov-report term-missing --cov-report "json:${ARTIFACT_DIR}/coverage_integration.json" --junit-xml="${ARTIFACT_DIR}/junit_integration.xml" --cov-fail-under=10
2222

23-
test-e2e: ## Run BDD tests for the service
23+
test-e2e: ## Run end to end tests for the service
2424
PYTHONDONTWRITEBYTECODE=1 uv run behave --tags=-skip -D dump_errors=true @tests/e2e/test_list.txt \
2525

2626
check-types: ## Checks type hints in sources
@@ -45,7 +45,7 @@ openapi-doc: docs/openapi.json scripts/fix_openapi_doc.py ## Generate OpenAPI do
4545
requirements.txt: pyproject.toml pdm.lock ## Generate requirements.txt file containing hashes for all non-devel packages
4646
pdm export --prod --format requirements --output requirements.txt --no-extras --without evaluation
4747

48-
doc:
48+
doc: ## Generate documentation for developers
4949
scripts/gen_doc.py
5050

5151
docs/config.puml: src/models/config.py ## Generate PlantUML class diagram for configuration
@@ -70,34 +70,34 @@ shellcheck: ## Run shellcheck
7070
shellcheck --version
7171
shellcheck -- */*.sh
7272

73-
black:
73+
black: ## Check source code using Black code formatter
7474
uv run black --check .
7575

76-
pylint:
76+
pylint: ## Check source code using Pylint static code analyser
7777
uv run pylint src tests
7878

79-
pyright:
79+
pyright: ## Check source code using Pyright static type checker
8080
uv run pyright src
8181

82-
docstyle:
82+
docstyle: ## Check the docstring style using Docstyle checker
8383
uv run pydocstyle -v src
8484

85-
ruff:
85+
ruff: ## Check source code using Ruff linter
8686
uv run ruff check . --per-file-ignores=tests/*:S101 --per-file-ignores=scripts/*:S101
8787

88-
verify: ## Run all linters
88+
verify: ## Run all linters
8989
$(MAKE) black
9090
$(MAKE) pylint
9191
$(MAKE) pyright
9292
$(MAKE) ruff
9393
$(MAKE) docstyle
9494
$(MAKE) check-types
9595

96-
distribution-archives: ## Generate distribution archives to be uploaded into Python registry
96+
distribution-archives: ## Generate distribution archives to be uploaded into Python registry
9797
rm -rf dist
9898
uv run python -m build
9999

100-
upload-distribution-archives: ## Upload distribution archives into Python registry
100+
upload-distribution-archives: ## Upload distribution archives into Python registry
101101
uv run python -m twine upload --repository ${PYTHON_REGISTRY} dist/*
102102

103103
help: ## Show this help screen

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,17 +560,23 @@ Available targets are:
560560
run Run the service locally
561561
test-unit Run the unit tests
562562
test-integration Run integration tests tests
563-
test-e2e Run BDD tests for the service
563+
test-e2e Run end to end tests for the service
564564
check-types Checks type hints in sources
565565
security-check Check the project for security issues
566566
format Format the code into unified format
567567
schema Generate OpenAPI schema file
568568
openapi-doc Generate OpenAPI documentation
569569
requirements.txt Generate requirements.txt file containing hashes for all non-devel packages
570+
doc Generate documentation for developers
570571
docs/config.puml Generate PlantUML class diagram for configuration
571572
docs/config.png Generate an image with configuration graph
572573
docs/config.svg Generate an SVG with configuration graph
573574
shellcheck Run shellcheck
575+
black Check source code using Black code formatter
576+
pylint Check source code using Pylint static code analyser
577+
pyright Check source code using Pyright static type checker
578+
docstyle Check the docstring style using Docstyle checker
579+
ruff Check source code using Ruff linter
574580
verify Run all linters
575581
distribution-archives Generate distribution archives to be uploaded into Python registry
576582
upload-distribution-archives Upload distribution archives into Python registry

0 commit comments

Comments
 (0)