Loading python/pylint.yml +1 −5 Original line number Diff line number Diff line Loading @@ -8,10 +8,6 @@ include: - local: python/generic.yml variables: PYLINT_THRESHOLD: "6" PYLINT_EXTRA_ARGS: "" python:pylint: stage: test variables: Loading @@ -19,7 +15,7 @@ python:pylint: script: - !reference [".python:pre", script] - pip3 install . || true # installs package only if available - pylint --fail-under ${PYLINT_THRESHOLD} ${PYLINT_EXTRA_ARGS} - pylint --fail-under ${PYLINT_THRESHOLD:-6} ${PYLINT_EXTRA_ARGS} --output-format=pylint_junit.JUnitReporter:${CI_PROJECT_DIR}/pylint-report.xml,colorized --ignore-paths=${PYTHON_EXCLUDE_PATHS} **/*.py artifacts: Loading python/readme.md 0 → 100644 +15 −0 Original line number Diff line number Diff line ## Global variables You can set the following variables up to and including the group level, so you can customize jobs for all your projects, without needing to modify each project, while still allowing overriding of these variables on the Project level. ## Pylint ### Variables Defaults. ```yaml PYLINT_THRESHOLD: "6" PYLINT_EXTRA_ARGS: "" ``` Loading
python/pylint.yml +1 −5 Original line number Diff line number Diff line Loading @@ -8,10 +8,6 @@ include: - local: python/generic.yml variables: PYLINT_THRESHOLD: "6" PYLINT_EXTRA_ARGS: "" python:pylint: stage: test variables: Loading @@ -19,7 +15,7 @@ python:pylint: script: - !reference [".python:pre", script] - pip3 install . || true # installs package only if available - pylint --fail-under ${PYLINT_THRESHOLD} ${PYLINT_EXTRA_ARGS} - pylint --fail-under ${PYLINT_THRESHOLD:-6} ${PYLINT_EXTRA_ARGS} --output-format=pylint_junit.JUnitReporter:${CI_PROJECT_DIR}/pylint-report.xml,colorized --ignore-paths=${PYTHON_EXCLUDE_PATHS} **/*.py artifacts: Loading
python/readme.md 0 → 100644 +15 −0 Original line number Diff line number Diff line ## Global variables You can set the following variables up to and including the group level, so you can customize jobs for all your projects, without needing to modify each project, while still allowing overriding of these variables on the Project level. ## Pylint ### Variables Defaults. ```yaml PYLINT_THRESHOLD: "6" PYLINT_EXTRA_ARGS: "" ```