Jenkins: Update to warnings-ng

This commit is contained in:
Tobias Gruetzmacher 2019-07-14 13:12:03 +02:00
parent 2eb789b35d
commit 131d530d1a
2 changed files with 4 additions and 2 deletions

3
Jenkinsfile vendored
View file

@ -59,7 +59,8 @@ pys.each { py ->
maxNumberOfBuilds: 0,
onlyStable: false,
zoomCoverageChart: false
warnings consoleParsers: [[parserName: 'flake8']]
recordIssues sourceCodeEncoding: 'UTF-8',
tool: flake8(pattern: '.tox/flake8.log', reportEncoding: 'UTF-8')
}
junit '.tox/junit-*.xml'
}

View file

@ -25,7 +25,8 @@ extras =
[testenv:flake8]
commands =
- {envbindir}/flake8
- {envbindir}/flake8 --format=pylint \
--tee --output-file={toxworkdir}/flake8.log
deps =
flake8
flake8-coding