From d45912485cd7e8a1d802dda72eca6b6bfe1860b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Montury?= <10528250-pytgaen@users.noreply.gitlab.com> Date: Sun, 27 Apr 2025 22:41:43 +0200 Subject: [PATCH] fix: exclude venv on py-lint --- templates/gitlab-ci-python.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/gitlab-ci-python.yml b/templates/gitlab-ci-python.yml index 1a7c07a..ba90622 100644 --- a/templates/gitlab-ci-python.yml +++ b/templates/gitlab-ci-python.yml @@ -1150,7 +1150,7 @@ py-lint: - install_requirements - _pip install pylint_gitlab # codeclimate reports # run pylint and generate reports all at once - - _run pylint --output-format=colorized,pylint_gitlab.GitlabCodeClimateReporter:reports/py-lint.codeclimate.json,parseable:reports/py-lint.parseable.txt ${PYLINT_ARGS} ${PYLINT_FILES:-$(find -type f -name "*.py" -not -path "./.cache/*")} + - _run pylint --output-format=colorized,pylint_gitlab.GitlabCodeClimateReporter:reports/py-lint.codeclimate.json,parseable:reports/py-lint.parseable.txt ${PYLINT_ARGS} ${PYLINT_FILES:-$(find -type f -name "*.py" -not -path "./.cache/*" -not -path "./.venv/*")} artifacts: name: "$CI_JOB_NAME artifacts from $CI_PROJECT_NAME on $CI_COMMIT_REF_SLUG" expire_in: 1 day -- GitLab