Skip to content
Snippets Groups Projects
Commit e1463bc7 authored by Pytgaen's avatar Pytgaen
Browse files

fix: pylint --ignore .cache not working now use find to exclude .cache

parent f025c6df
No related branches found
No related tags found
No related merge requests found
...@@ -923,7 +923,7 @@ py-lint: ...@@ -923,7 +923,7 @@ py-lint:
- install_requirements - install_requirements
- _pip install pylint_gitlab # codeclimate reports - _pip install pylint_gitlab # codeclimate reports
# run pylint and generate reports all at once # run pylint and generate reports all at once
- _run pylint --ignore=.cache --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")} - _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/*")}
artifacts: artifacts:
name: "$CI_JOB_NAME artifacts from $CI_PROJECT_NAME on $CI_COMMIT_REF_SLUG" name: "$CI_JOB_NAME artifacts from $CI_PROJECT_NAME on $CI_COMMIT_REF_SLUG"
expire_in: 1 day expire_in: 1 day
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment