File tree Expand file tree Collapse file tree 3 files changed +20
-8
lines changed
Expand file tree Collapse file tree 3 files changed +20
-8
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ stages:
2727build-python-package :
2828 stage : build
2929 before_script :
30- - pip install uv
30+ - pipx install uv
3131 script :
3232 - tools/build-package.sh
3333 artifacts :
@@ -38,7 +38,7 @@ build-python-package:
3838build-documentation :
3939 stage : build
4040 before_script :
41- - pip install uv
41+ - pipx install uv
4242 script :
4343 - tools/build-docs.sh
4444 artifacts :
@@ -48,7 +48,7 @@ build-documentation:
4848test-python-package :
4949 stage : test
5050 before_script :
51- - pip install uv
51+ - pipx install uv
5252 script :
5353 - tools/test-package.sh
5454 coverage : ' /TOTAL.*\s+(\d+%)$/'
@@ -62,9 +62,7 @@ test-python-package:
6262lint-python-package :
6363 stage : test
6464 before_script :
65- # TODO: Add flake8-gl-codeclimate as dependency
66- - pip install flake8-gl-codeclimate
67- - pip install uv
65+ - pipx install uv
6866 script :
6967 - uv run --all-extras flake8 src/python_training_project --format gl-codeclimate --output-file gl-code-quality-report.json
7068 artifacts :
@@ -81,7 +79,7 @@ additional-mr-checks:
8179deploy-python-package :
8280 stage : deploy
8381 before_script :
84- - pip install uv
82+ - pipx install uv
8583 variables :
8684 UV_PUBLISH_URL : ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi
8785 UV_PUBLISH_USERNAME : gitlab-ci-token
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ classifiers = [
2222]
2323dependencies = [
2424 " click" ,
25+ " flake8-gl-codeclimate>=0.2.1" ,
2526]
2627dynamic = [" version" ]
2728
You can’t perform that action at this time.
0 commit comments