Projet

Général

Profil

Development #52630

pylint - sur les tests aussi

Ajouté par Lauréline Guérin il y a environ 3 ans. Mis à jour il y a environ 3 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
01 avril 2021
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

On fait tourner isort et black sur le code et les tests, pourquoi ne pas aussi pylintiser les tests ?


Fichiers

0010-misc-pylint-fix-singleton-comparison-52630.patch (3,83 ko) 0010-misc-pylint-fix-singleton-comparison-52630.patch Lauréline Guérin, 02 avril 2021 17:21
0009-misc-pylint-fix-unneeded-not-52630.patch (44,2 ko) 0009-misc-pylint-fix-unneeded-not-52630.patch Lauréline Guérin, 02 avril 2021 17:21
0008-misc-pylint-fix-dangerous-default-value-52630.patch (1,52 ko) 0008-misc-pylint-fix-dangerous-default-value-52630.patch Lauréline Guérin, 02 avril 2021 17:21
0007-misc-pylint-fix-useless-object-inheritance-52630.patch (6,53 ko) 0007-misc-pylint-fix-useless-object-inheritance-52630.patch Lauréline Guérin, 02 avril 2021 17:21
0006-misc-pylint-fix-singleton-comparison-52630.patch (5,65 ko) 0006-misc-pylint-fix-singleton-comparison-52630.patch Lauréline Guérin, 02 avril 2021 17:21
0005-misc-pylint-fix-unused-variable-52630.patch (55,5 ko) 0005-misc-pylint-fix-unused-variable-52630.patch Lauréline Guérin, 02 avril 2021 17:21
0004-misc-pylint-fix-bare-except-52630.patch (3,61 ko) 0004-misc-pylint-fix-bare-except-52630.patch Lauréline Guérin, 02 avril 2021 17:21
0003-misc-pylint-fix-unused-wildcard-import-52630.patch (2,62 ko) 0003-misc-pylint-fix-unused-wildcard-import-52630.patch Lauréline Guérin, 02 avril 2021 17:21
0002-misc-pylint-fix-unused-import-52630.patch (14,6 ko) 0002-misc-pylint-fix-unused-import-52630.patch Lauréline Guérin, 02 avril 2021 17:21
0001-misc-pylint-on-tests-52630.patch (51,9 ko) 0001-misc-pylint-on-tests-52630.patch Lauréline Guérin, 02 avril 2021 17:21
0018-misc-pylint-fix-astroid-error-52630.patch (4,87 ko) 0018-misc-pylint-fix-astroid-error-52630.patch Lauréline Guérin, 02 avril 2021 17:21
0017-misc-pylint-various-fix-52630.patch (3,21 ko) 0017-misc-pylint-various-fix-52630.patch Lauréline Guérin, 02 avril 2021 17:21
0016-misc-pylint-fix-global-statement-global-variable-not.patch (6,38 ko) 0016-misc-pylint-fix-global-statement-global-variable-not.patch Lauréline Guérin, 02 avril 2021 17:21
0015-misc-pylint-fix-function-redefined-52630.patch (4,8 ko) 0015-misc-pylint-fix-function-redefined-52630.patch Lauréline Guérin, 02 avril 2021 17:21
0014-misc-pylint-fix-misplaced-comparison-constant-52630.patch (1,98 ko) 0014-misc-pylint-fix-misplaced-comparison-constant-52630.patch Lauréline Guérin, 02 avril 2021 17:21
0013-misc-pylint-fix-assert-on-string-literal-52630.patch (1,24 ko) 0013-misc-pylint-fix-assert-on-string-literal-52630.patch Lauréline Guérin, 02 avril 2021 17:21
0012-misc-pylint-fix-anomalous-backslash-in-string-52630.patch (5,86 ko) 0012-misc-pylint-fix-anomalous-backslash-in-string-52630.patch Lauréline Guérin, 02 avril 2021 17:21
0011-misc-pylint-fix-unidiomatic-typecheck-52630.patch (1,05 ko) 0011-misc-pylint-fix-unidiomatic-typecheck-52630.patch Lauréline Guérin, 02 avril 2021 17:21

Révisions associées

Révision a86d1156 (diff)
Ajouté par Lauréline Guérin il y a environ 3 ans

misc: pylint on tests (#52630)

Révision c71299d0 (diff)
Ajouté par Lauréline Guérin il y a environ 3 ans

misc: pylint fix unused-import (#52630)

Révision 7db86a54 (diff)
Ajouté par Lauréline Guérin il y a environ 3 ans

misc: pylint fix unused-wildcard-import (#52630)

Révision 8af3b137 (diff)
Ajouté par Lauréline Guérin il y a environ 3 ans

misc: pylint fix bare-except (#52630)

Révision 66e6d16f (diff)
Ajouté par Lauréline Guérin il y a environ 3 ans

misc: pylint fix unused-variable (#52630)

Révision 7e518f42 (diff)
Ajouté par Lauréline Guérin il y a environ 3 ans

misc: pylint fix singleton-comparison (#52630)

Révision 8f450f5a (diff)
Ajouté par Lauréline Guérin il y a environ 3 ans

misc: pylint fix useless-object-inheritance (#52630)

Révision 37e8d1ad (diff)
Ajouté par Lauréline Guérin il y a environ 3 ans

misc: pylint fix dangerous-default-value (#52630)

Révision 5253275e (diff)
Ajouté par Lauréline Guérin il y a environ 3 ans

misc: pylint fix unneeded-not (#52630)

Révision 43807dad (diff)
Ajouté par Lauréline Guérin il y a environ 3 ans

misc: pylint fix singleton-comparison (#52630)

Révision 5c49177e (diff)
Ajouté par Lauréline Guérin il y a environ 3 ans

misc: pylint fix unidiomatic-typecheck (#52630)

Révision f93f5132 (diff)
Ajouté par Lauréline Guérin il y a environ 3 ans

misc: pylint fix anomalous-backslash-in-string (#52630)

Révision 0ba07f8b (diff)
Ajouté par Lauréline Guérin il y a environ 3 ans

misc: pylint fix assert-on-string-literal (#52630)

Révision c80d8dc2 (diff)
Ajouté par Lauréline Guérin il y a environ 3 ans

misc: pylint fix misplaced-comparison-constant (#52630)

Révision fd7b28c0 (diff)
Ajouté par Lauréline Guérin il y a environ 3 ans

misc: pylint fix function-redefined (#52630)

Révision b45ff4a9 (diff)
Ajouté par Lauréline Guérin il y a environ 3 ans

misc: pylint fix global-statement, global-variable-not-assigned (#52630)

Révision f79705fa (diff)
Ajouté par Lauréline Guérin il y a environ 3 ans

misc: pylint various fix (#52630)

Révision 71e5a748 (diff)
Ajouté par Lauréline Guérin il y a environ 3 ans

misc: pylint fix astroid-error (#52630)

  • Module tests.admin_pages.test_form
    tests/admin_pages/test_form.py:1: [F0002, ]
    <class 'RecursionError'>: maximum recursion depth exceeded

split testcase, it seems to fix the error

Historique

#1

Mis à jour par Lauréline Guérin il y a environ 3 ans

  • Assigné à mis à Lauréline Guérin
#4

Mis à jour par Frédéric Péters il y a environ 3 ans

  • Statut changé de Solution proposée à Solution validée

Super qu'on puisse répartir disable sur plusieurs lignes, je n'avais pas cherché...

#5

Mis à jour par Lauréline Guérin il y a environ 3 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit 71e5a7489811322bcbb20891f71e1c81d3454cfb
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Fri Apr 2 16:27:18 2021 +0200

    misc: pylint fix astroid-error (#52630)

    ************* Module tests.admin_pages.test_form
    tests/admin_pages/test_form.py:1: [F0002(astroid-error), ]
    <class 'RecursionError'>: maximum recursion depth exceeded

    split testcase, it seems to fix the error

commit f79705fa5e9958234300e95c5906339150c09ed9
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Fri Apr 2 15:34:14 2021 +0200

    misc: pylint various fix (#52630)

commit b45ff4a9b91ab82e5e5fee7174b80eecb118eb1a
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Fri Apr 2 15:28:39 2021 +0200

    misc: pylint fix global-statement, global-variable-not-assigned (#52630)

commit fd7b28c05a3405b863a2295e8c88321f55edbec9
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Fri Apr 2 15:13:56 2021 +0200

    misc: pylint fix function-redefined (#52630)

commit c80d8dc224a48fc2ccce83cb4aac22104f2009d8
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Fri Apr 2 15:07:31 2021 +0200

    misc: pylint fix misplaced-comparison-constant (#52630)

commit 0ba07f8b1235c7dbdee8f5108a7e5219325b6e9b
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Fri Apr 2 15:01:01 2021 +0200

    misc: pylint fix assert-on-string-literal (#52630)

commit f93f5132135f6b2f29c886c11b6fb3268ad847cb
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Fri Apr 2 14:59:09 2021 +0200

    misc: pylint fix anomalous-backslash-in-string (#52630)

commit 5c49177e48c2be1cc5422b3ec6d830b95f24b6e1
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Fri Apr 2 14:42:01 2021 +0200

    misc: pylint fix unidiomatic-typecheck (#52630)

commit 43807dadcd6709105fbf442c8e747960557f223a
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Fri Apr 2 14:34:49 2021 +0200

    misc: pylint fix singleton-comparison (#52630)

commit 5253275e378673ae07557ca673d7ca7eb0c5c8ca
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Fri Apr 2 14:14:55 2021 +0200

    misc: pylint fix unneeded-not (#52630)

commit 37e8d1adbad3c4c5b252ed338cb113921306465e
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Fri Apr 2 14:10:28 2021 +0200

    misc: pylint fix dangerous-default-value (#52630)

commit 8f450f5a2f28d0475163b89f6e33e9416b2b887e
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Fri Apr 2 11:41:43 2021 +0200

    misc: pylint fix useless-object-inheritance (#52630)

commit 7e518f429b76a5a15c2df49ce143222d044221b6
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Fri Apr 2 11:25:03 2021 +0200

    misc: pylint fix singleton-comparison (#52630)

commit 66e6d16fdf6c5d1fc3acf6e76e6619e9e27aff07
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Fri Apr 2 11:15:34 2021 +0200

    misc: pylint fix unused-variable (#52630)

commit 8af3b1374c41d83872bd2d94297e5ac8726baaa3
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Fri Apr 2 09:10:24 2021 +0200

    misc: pylint fix bare-except (#52630)

commit 7db86a547d1807c3bf2b6ecc314f011e04225735
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Fri Apr 2 08:54:02 2021 +0200

    misc: pylint fix unused-wildcard-import (#52630)

commit c71299d053972072add7fe245f9c91b0c3952fe1
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Thu Apr 1 18:39:36 2021 +0200

    misc: pylint fix unused-import (#52630)

commit a86d1156c1d3fdc91ae972f211032f5e72bb4a41
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Thu Apr 1 16:47:57 2021 +0200

    misc: pylint on tests (#52630)
#6

Mis à jour par Lauréline Guérin il y a environ 3 ans

  • Sujet changé de pytlint - sur les tests aussi à pylint - sur les tests aussi
#7

Mis à jour par Frédéric Péters il y a environ 3 ans

  • Statut changé de Résolu (à déployer) à Solution déployée

Formats disponibles : Atom PDF