Skip to content
Snippets Groups Projects
Commit 7cdcfffe authored by Andre Sailer's avatar Andre Sailer
Browse files

CI: adapt for pylint py3 version

parent fe8be4f4
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
#!/bin/bash
find src -name Examples -prune -o -name .ropeproject -prune -o -name "*.py" -exec pylint -E --rcfile=.gitlab-ci.d/DIRAC.pylint.rc --msg-template="{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}" {} +
find src -name Examples -prune -o -name .ropeproject -prune -o -name "*.py" -exec pylint -E --rcfile=${PYLINT_RCFILE:-.gitlab-ci.d/pylint_py3.rc} --msg-template="{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}" {} +
......@@ -300,8 +300,6 @@ checkFormat:
.pylint_template: &pylint
stage: integration
variables:
GIT_STRATEGY: none
<<: *rule_normal
script:
- export HOME=/root/
......@@ -313,11 +311,17 @@ checkFormat:
<<: *retry_policy
pylint:CC7:
variables:
GIT_STRATEGY: none
PYLINT_RCFILE: ".gitlab-ci.d/DIRAC.pylint.rc"
<<: *cc7docker
<<: *pylint
needs: ["install:CC7"]
pylint:Py3:
variables:
GIT_STRATEGY: none
PYLINT_RCFILE: ".gitlab-ci.d/pylint_py3.rc"
<<: *cc7docker
<<: *pylint
needs: ["install:Py3"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment