Skip to content

Commit 459a614

Browse files
committed
Add flake8
Signed-off-by: Thomas <[email protected]>
1 parent eba8fb6 commit 459a614

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.gitlab-ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,18 @@ test-python-package:
4242
coverage_format: cobertura
4343
path: coverage.xml
4444

45+
lint-python-package:
46+
stage: test
47+
before_script:
48+
# TODO: Add flake8-gl-codeclimate as dependency
49+
- pip install flake8-gl-codeclimate
50+
- pip install uv
51+
script:
52+
- uv run --all-extras flake8 src/python_training_project --format gl-codeclimate --output-file gl-code-quality-report.json
53+
artifacts:
54+
reports:
55+
codequality: gl-code-quality-report.json
56+
4557
deploy-python-package:
4658
stage: deploy
4759
before_script:

0 commit comments

Comments
 (0)