You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Makefile
+3-124Lines changed: 3 additions & 124 deletions
Original file line number
Diff line number
Diff line change
@@ -3,34 +3,19 @@ PYTHON_VERSION ?= 3.10
3
3
VENV_HOME := /c/Python-virt-envs
4
4
5
5
# Declare targets that don't represent actual files.
6
-
.PHONY: help install lint type format unit coverage robot check requirements keydoc unit_doc robot_doc structure meta doc clean setup test-install list-envs delete-env
6
+
.PHONY: help lint type format unit robot check requirements keydoc
7
7
8
8
# Show a list of the Make targets available in this file.
9
9
help:
10
10
@echo "Commonly used commands:"
11
-
@echo " make install Install project dependencies via Poetry"
12
11
@echo " make lint Run Pylint on source and test code"
13
12
@echo " make type Run Pyright for static type checking"
14
13
@echo " make format Check code formatting using Black"
15
14
@echo " make unit Run unit tests with pytest"
16
-
@echo " make coverage Open the pytest coverage report in the browser"
17
15
@echo " make robot Run integration tests with Robot Framework"
18
16
@echo " make check Wrapper: run linting, type checks, format checks and all tests"
19
17
@echo " make requirements Export requirements.txt and requirements-dev.txt"
20
18
@echo " make keydoc Generate Robot Framework keyword documentation"
21
-
@echo " make unit_doc Generate overview of unit test cases"
22
-
@echo " make structure Analyze project structure and write to file"
23
-
@echo " make meta Establish code metrics and write to file"
24
-
@echo " make doc Wrapper: create all docs"
25
-
@echo " make clean Remove temporary files and test artifacts"
26
-
@echo " make setup Install, export and setup pre-commit hooks"
27
-
@echo " make test_install Create a virtual env, install the library and run basic checks"
28
-
@echo " make delete-env Delete a virtual environment."
29
-
30
-
# Install dependencies from pyproject.toml, locked to versions in poetry.lock.
31
-
install:
32
-
@echo "Running poetry install..."
33
-
@poetry install
34
19
35
20
# Run linting with Pylint on the src/ directory.
36
21
lint:
@@ -52,10 +37,6 @@ unit:
52
37
@echo "Running unit tests..."
53
38
@poetry run pytest --cov=src --cov-report=html --cov-branch test/
0 commit comments