Commit cb159c0b authored by Guilhem Bonnefille's avatar Guilhem Bonnefille
Browse files

fix: ignore is a regex and ignore-path could be better

parent dccee013
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1241,7 +1241,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} --ignore=.cache,.venv|| exit_code=$?
    - _run pylint --output-format=colorized,pylint_gitlab.GitlabCodeClimateReporter:reports/py-lint.codeclimate.json,parseable:reports/py-lint.parseable.txt ${PYLINT_ARGS} ${PYLINT_FILES} --ignore-paths=\.venv/,\.cache/ || exit_code=$?
    # check pylint exit code against $PYLINT_SEVERITY
    - |
      if [[ "${exit_code:-0}" == "0" ]]