Install packages in pylint analysis job

This commit is contained in:
Zedifus 2024-02-02 19:11:18 +00:00
parent bbbb83f9c8
commit be4c7b53f9

View File

@ -52,6 +52,7 @@ pylint:
when: never
- if: "$CI_COMMIT_TAG || $CI_COMMIT_BRANCH"
script:
- pip3 install --no-cache-dir -r requirements.txt
- pylint --exit-zero --load-plugins=pylint_gitlab --output-format=gitlab-codeclimate:codeclimate.json $(find -type f -name "*.py" ! -path "**/.venv/**" ! -path "**/app/migrations/**")
artifacts:
reports: