Projet

Général

Profil

0001-Jenkinsfile-run-pylint-51640.patch

Benjamin Dauvergne, 05 août 2021 12:16

Télécharger (1,26 ko)

Voir les différences:

Subject: [PATCH] Jenkinsfile: run pylint (#51640)

 Jenkinsfile | 1 +
 tox.ini     | 9 +++++----
 2 files changed, 6 insertions(+), 4 deletions(-)
Jenkinsfile
11 11
            post {
12 12
                always {
13 13
                    script {
14
                        sh 'tox -e pylint'
14 15
                        utils = new Utils()
15 16
                        utils.publish_coverage('coverage.xml')
16 17
                        utils.publish_coverage_native('index.html')
tox.ini
36 36
  py.test -o junit_suite_name={envname} --junit-xml=junit-{envname}.xml --random {env:COVERAGE:} {posargs:tests}
37 37

  
38 38
[testenv:pylint]
39
basepython = python2.7
39
basepython = python3
40 40
deps =
41
    pylint<1.8
42
    pylint-django<0.8.1
41
    pylint
42
    pylint-django
43 43
commands =
44
    pylint: ./pylint.sh mellon
44
    ./getlasso3.sh
45
    ./pylint.sh mellon
45 46

  
46 47
[testenv:django-admin]
47 48
whitelist_externals = django-admin
48
-