Skip to content

Commit

Permalink
[#664] pylint upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdoker18 committed Dec 18, 2018
1 parent 9f10541 commit 7d42eb8
Show file tree
Hide file tree
Showing 9 changed files with 42 additions and 65 deletions.
14 changes: 10 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -146,14 +146,20 @@ pipeline {
pycodestyle --show-source --show-pep8 tests --ignore E402,E126,W503,E731
pydocstyle --source legion
TERM="linux" pylint --persistent=n legion > legion-pylint.log || exit 0
TERM="linux" pylint --persistent=n tests >> legion-pylint.log || exit 0
TERM="linux" pylint --exit-zero --persistent=n legion > legion-pylint.log
cd ..
'''

archiveArtifacts 'legion/legion-pylint.log'
warnings canComputeNew: false, canResolveRelativePaths: false, categoriesPattern: '', defaultEncoding: '', excludePattern: '', healthy: '', includePattern: '', messagesPattern: '', parserConfigurations: [[ parserName: 'PyLint', pattern: 'legion/legion-pylint.log']], unHealthy: ''

step([
$class : 'WarningsPublisher',
parserConfigurations : [[
parserName: 'PYLint',
pattern : 'legion/legion-pylint.log'
]],
unstableTotalAll : '0',
usePreviousBuildAsReference: true
])
sh '''
cd legion_airflow
pycodestyle --show-source --show-pep8 legion_airflow
Expand Down
2 changes: 1 addition & 1 deletion k8s/edge/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ PyJWT = "==1.6.4"
nose = "==1.3.7"
pycodestyle = "==2.3.1"
pydocstyle = "==2.1.1"
pylint = "==1.7.2"
pylint = "==2.2.2"
tox = "==2.8.2"
locustio = "==0.8.1"
coverage = "==4.4.1"
Expand Down
43 changes: 7 additions & 36 deletions k8s/edge/Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion legion/requirements/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ PyJWT = "==1.6.4"
nose = "==1.3.7"
pycodestyle = "==2.3.1"
pydocstyle = "==2.1.1"
pylint = "==1.7.2"
pylint = "==2.2.2"
tox = "==2.8.2"
locustio = "==0.8.1"
coverage = "==4.4.1"
Expand Down
14 changes: 7 additions & 7 deletions legion/requirements/Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion legion_airflow/requirements/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ smart_open = "==1.5.7"
nose = "==1.3.7"
pycodestyle = "==2.3.1"
pydocstyle = "==2.1.1"
pylint = "==1.7.2"
pylint = "==2.2.2"
tox = "==2.8.2"
locustio = "==0.8.1"
coverage = "==4.4.1"
Expand Down
14 changes: 7 additions & 7 deletions legion_airflow/requirements/Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion legion_test/requirements/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pyOpenSSL = "==18.0.0"
nose = "==1.3.7"
pycodestyle = "==2.3.1"
pydocstyle = "==2.1.1"
pylint = "==1.7.2"
pylint = "==2.2.2"
tox = "==2.8.2"
locustio = "==0.8.1"
coverage = "==4.4.1"
Expand Down
14 changes: 7 additions & 7 deletions legion_test/requirements/Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7d42eb8

Please sign in to comment.