File tree Expand file tree Collapse file tree 2 files changed +14
-9
lines changed
Expand file tree Collapse file tree 2 files changed +14
-9
lines changed Original file line number Diff line number Diff line change 5858 - name : Install dependencies using Poetry
5959 run : poetry install
6060
61- - name : Check import sorting with isort
62- run : poetry run isort --check-only --diff .
63-
64- - name : Check code formatting with black
65- run : poetry run black --check .
61+ - name : Run code linters
62+ run : make lint-check
6663
6764 - name : Run tests and generate reports
6865 env :
Original file line number Diff line number Diff line change @@ -23,9 +23,18 @@ e2e-test:
2323 --junitxml=testLog_e2e.xml \
2424 --log-cli-level=INFO
2525
26- # Use Python Black to format python files
27- format :
28- black .
26+ # Use black to format Python files
27+ format-black :
28+ poetry run black .
29+
30+ # Use isort to format Python files
31+ format-isort :
32+ poetry run isort .
33+
34+ # Run code linters
35+ lint-check :
36+ poetry run black --check .
37+ poetry run isort --check-only --diff .
2938
3039# Generate wheel file using poetry build command
3140build :
@@ -51,4 +60,3 @@ installer:
5160 --onefile \
5261 --name cover-agent \
5362 cover_agent/main.py
54-
You can’t perform that action at this time.
0 commit comments