Projet

Général

Profil

Development #52222

pylint - réduire les warnings

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:
19 mars 2021
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non


Fichiers

0009-misc-pylint-fix-dangerous-default-value-52222.patch (11,7 ko) 0009-misc-pylint-fix-dangerous-default-value-52222.patch Lauréline Guérin, 22 mars 2021 16:57
0007-misc-pylint-fix-bare-except-52222.patch (17,9 ko) 0007-misc-pylint-fix-bare-except-52222.patch Lauréline Guérin, 22 mars 2021 16:57
0008-misc-pylint-fix-spacing-around-comments-52222.patch (5,74 ko) 0008-misc-pylint-fix-spacing-around-comments-52222.patch Lauréline Guérin, 22 mars 2021 16:57
0005-misc-pylint-fix-unused-import-52222.patch (21,9 ko) 0005-misc-pylint-fix-unused-import-52222.patch Lauréline Guérin, 22 mars 2021 16:57
0006-misc-pylint-fix-unused-variable-52222.patch (67,9 ko) 0006-misc-pylint-fix-unused-variable-52222.patch Lauréline Guérin, 22 mars 2021 16:57
0004-misc-pylint-fix-super-with-arguments-52222.patch (47,2 ko) 0004-misc-pylint-fix-super-with-arguments-52222.patch Lauréline Guérin, 22 mars 2021 16:57
0002-misc-pylint-fix-wrong-import-position-52222.patch (6,31 ko) 0002-misc-pylint-fix-wrong-import-position-52222.patch Lauréline Guérin, 22 mars 2021 16:57
0003-misc-pylint-fix-unused-wildcard-import-52222.patch (56,3 ko) 0003-misc-pylint-fix-unused-wildcard-import-52222.patch Lauréline Guérin, 22 mars 2021 16:57
0001-misc-integrate-pylint.rc-in-repo-52222.patch (5,07 ko) 0001-misc-integrate-pylint.rc-in-repo-52222.patch Lauréline Guérin, 22 mars 2021 16:57
0020-misc-pylint-fix-chained-comparison-52222.patch (827 octets) 0020-misc-pylint-fix-chained-comparison-52222.patch Lauréline Guérin, 22 mars 2021 16:57
0019-misc-pylint-fix-using-constant-test-52222.patch (2,76 ko) 0019-misc-pylint-fix-using-constant-test-52222.patch Lauréline Guérin, 22 mars 2021 16:57
0018-misc-pylint-fix-unneeded-not-52222.patch (43,1 ko) 0018-misc-pylint-fix-unneeded-not-52222.patch Lauréline Guérin, 22 mars 2021 16:57
0017-misc-pylint-fix-consider-using-in-52222.patch (1,72 ko) 0017-misc-pylint-fix-consider-using-in-52222.patch Lauréline Guérin, 22 mars 2021 16:57
0016-misc-pylint-fix-no-else-raise-52222.patch (2,95 ko) 0016-misc-pylint-fix-no-else-raise-52222.patch Lauréline Guérin, 22 mars 2021 16:57
0015-misc-pylint-fix-bad-classmethod-argument-52222.patch (1,31 ko) 0015-misc-pylint-fix-bad-classmethod-argument-52222.patch Lauréline Guérin, 22 mars 2021 16:57
0014-misc-pylint-fix-function-redefined-52222.patch (9,98 ko) 0014-misc-pylint-fix-function-redefined-52222.patch Lauréline Guérin, 22 mars 2021 16:57
0013-misc-pylint-fix-simplifiable-if-statement-52222.patch (2,34 ko) 0013-misc-pylint-fix-simplifiable-if-statement-52222.patch Lauréline Guérin, 22 mars 2021 16:57
0012-misc-pylint-fix-anomalous-backslash-in-string-52222.patch (967 octets) 0012-misc-pylint-fix-anomalous-backslash-in-string-52222.patch Lauréline Guérin, 22 mars 2021 16:57
0030-misc-pylint-fix-unnecessary-pass-52222.patch (706 octets) 0030-misc-pylint-fix-unnecessary-pass-52222.patch Lauréline Guérin, 22 mars 2021 16:57
0029-misc-pylint-fix-access-member-before-definition-5222.patch (1,24 ko) 0029-misc-pylint-fix-access-member-before-definition-5222.patch Lauréline Guérin, 22 mars 2021 16:57
0028-misc-pylint-fix-wrong-placeholders-substitutions-522.patch (1,02 ko) 0028-misc-pylint-fix-wrong-placeholders-substitutions-522.patch Lauréline Guérin, 22 mars 2021 16:57
0027-misc-pylint-fix-useless-else-on-loop-52222.patch (754 octets) 0027-misc-pylint-fix-useless-else-on-loop-52222.patch Lauréline Guérin, 22 mars 2021 16:57
0026-misc-pylint-fix-no-else-break-52222.patch (1,37 ko) 0026-misc-pylint-fix-no-else-break-52222.patch Lauréline Guérin, 22 mars 2021 16:57
0025-misc-pylint-fix-no-else-continu-52222.patch (931 octets) 0025-misc-pylint-fix-no-else-continu-52222.patch Lauréline Guérin, 22 mars 2021 16:57
0024-misc-pylint-fix-reimported-52222.patch (2,63 ko) 0024-misc-pylint-fix-reimported-52222.patch Lauréline Guérin, 22 mars 2021 16:57
0023-misc-pylint-fix-ungrouped-imports-52222.patch (1,69 ko) 0023-misc-pylint-fix-ungrouped-imports-52222.patch Lauréline Guérin, 22 mars 2021 16:57
0022-misc-pylint-fix-consider-merging-isinstance-52222.patch (1,55 ko) 0022-misc-pylint-fix-consider-merging-isinstance-52222.patch Lauréline Guérin, 22 mars 2021 16:57
0021-misc-pylint-fix-import-error-52222.patch (4,81 ko) 0021-misc-pylint-fix-import-error-52222.patch Lauréline Guérin, 22 mars 2021 16:57
0032-misc-remove-dead-code-52222.patch (816 octets) 0032-misc-remove-dead-code-52222.patch Lauréline Guérin, 22 mars 2021 16:57
0031-misc-pylint-fix-no-self-argument-52222.patch (2 ko) 0031-misc-pylint-fix-no-self-argument-52222.patch Lauréline Guérin, 22 mars 2021 16:57
0011-misc-pylint-fix-unidiomatic-typecheck-52222.patch (21,5 ko) 0011-misc-pylint-fix-unidiomatic-typecheck-52222.patch Lauréline Guérin, 22 mars 2021 17:57
0010-misc-pylint-fix-useless-object-inheritance-52222.patch (26,9 ko) 0010-misc-pylint-fix-useless-object-inheritance-52222.patch Lauréline Guérin, 22 mars 2021 17:57
0033-misc-pylint-fix-last-warnings-52222.patch (5,21 ko) 0033-misc-pylint-fix-last-warnings-52222.patch Lauréline Guérin, 22 mars 2021 18:00

Révisions associées

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

misc: integrate pylint.rc in repo (#52222)

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

misc: pylint fix wrong-import-position (#52222)

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

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

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

misc: pylint fix super-with-arguments (#52222)

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

misc: pylint fix unused-import (#52222)

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

misc: pylint fix unused-variable (#52222)

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

misc: pylint fix bare-except (#52222)

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

misc: pylint fix spacing around comments (#52222)

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

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

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

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

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

misc: pylint fix unidiomatic-typecheck (#52222)

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

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

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

misc: pylint fix simplifiable-if-statement (#52222)

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

misc: pylint fix function-redefined (#52222)

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

misc: pylint fix bad-classmethod-argument (#52222)

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

misc: pylint fix no-else-raise (#52222)

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

misc: pylint fix consider-using-in (#52222)

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

misc: pylint fix unneeded-not (#52222)

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

misc: pylint fix using-constant-test (#52222)

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

misc: pylint fix chained-comparison (#52222)

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

misc: pylint fix import-error (#52222)

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

misc: pylint fix consider-merging-isinstance (#52222)

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

misc: pylint fix ungrouped-imports (#52222)

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

misc: pylint fix reimported (#52222)

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

misc: pylint fix no-else-continu (#52222)

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

misc: pylint fix no-else-break (#52222)

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

misc: pylint fix useless-else-on-loop (#52222)

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

misc: pylint fix wrong placeholders & substitutions (#52222)

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

misc: pylint fix access-member-before-definition (#52222)

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

misc: pylint fix unnecessary-pass (#52222)

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

misc: pylint fix no-self-argument (#52222)

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

misc: remove dead code (#52222)

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

misc: pylint fix last warnings (#52222)

Historique

#5

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

  • Fichier 0011-misc-pylint-fix-unidiomatic-typecheck-52222.patch supprimé
#6

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

  • Fichier 0010-misc-pylint-fix-useless-object-inheritance-52222.patch supprimé
#9

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

  • Fichier 0033-misc-pylint-fix-last-warnings-52222.patch supprimé
#10

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

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

Je pioche juste quelques patchs au hasard, toute la partie form.py dans 0014-misc-pylint-fix-function-redefined-52222.patch est super, ça correspond à ce vieux projet #5790, ça fait partie des trucs non-triviaux que je n'imaginais pas ici.

Je dirais que c'est ok pour moi, sauf si tu souhaites que je regarde particulièrement un commit particulier.

#11

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

dans 0003, j'ai simplifié des trucs dans les tests autour de PicklableUpload (des imports dans les tests en PicklableUpload2 ou PicklableUpload3), liés à #13777, et je suis pas bien sûre de moi

#12

Mis à jour par Benjamin Dauvergne il y a environ 3 ans

  • Sujet changé de pytlint - réduire les warnings à pylint - réduire les warnings
#13

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

Je pense que c'était juste un problème avec Python 2, c'est ok pour la suppression.

#14

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

  • Statut changé de Solution validée à Résolu (à déployer)
commit 6632a3133bd1cd18e71a2de0c9ec1cc31eb581a3 (HEAD -> main, origin/wip/52222-pylint, origin/main, wip/52222-pylint)
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Mon Mar 22 16:45:18 2021 +0100

    misc: pylint fix last warnings (#52222)

commit 4889deb2a0973234981cd23489ff61d608701b62
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Mon Mar 22 16:37:39 2021 +0100

    misc: remove dead code (#52222)

commit 87e806a8940169673b8f5c39bd9246713ff3a255
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Mon Mar 22 15:25:26 2021 +0100

    misc: pylint fix no-self-argument (#52222)

commit ceee15b3a136cb8f413926040f213fe239ed37ec
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Mon Mar 22 15:24:06 2021 +0100

    misc: pylint fix unnecessary-pass (#52222)

commit 9d7692cbab6c46bd6e272cb742d8ee0eec58e74d
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Mon Mar 22 15:23:11 2021 +0100

    misc: pylint fix access-member-before-definition (#52222)

commit 6ac7eb4a43cce83760203e1c391c732122910afc
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Mon Mar 22 15:18:13 2021 +0100

    misc: pylint fix wrong placeholders & substitutions (#52222)

commit 3c2ddb1f2295dcf69c26fb74479c38b071e7b441
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Mon Mar 22 15:11:52 2021 +0100

    misc: pylint fix useless-else-on-loop (#52222)

commit cec0ad3087b1bf625c24d9c154630a482eb61828
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Mon Mar 22 15:09:19 2021 +0100

    misc: pylint fix no-else-break (#52222)

commit bcc6a9bc2fad64d9901459189a0df1c9de9bd784
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Mon Mar 22 15:05:58 2021 +0100

    misc: pylint fix no-else-continu (#52222)

commit 39034b7de16fd28350a59a404c240022149c8826
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Mon Mar 22 14:59:39 2021 +0100

    misc: pylint fix reimported (#52222)

commit a7b8150b26ba1998fbc5061a0d7ec6d0154263fc
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Mon Mar 22 14:56:13 2021 +0100

    misc: pylint fix ungrouped-imports (#52222)

commit 0c856c719a709e2b7a94ee3dd7b8cca43502ceb6
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Mon Mar 22 14:26:44 2021 +0100

    misc: pylint fix consider-merging-isinstance (#52222)

commit 191013095583ba6c1dbe0dc140772b751dcde321
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Mon Mar 22 11:53:54 2021 +0100

    misc: pylint fix import-error (#52222)

commit 101f8d06b2bc97d6e5e1c288e747747a82f84b3b
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Mon Mar 22 11:33:58 2021 +0100

    misc: pylint fix chained-comparison (#52222)

commit 021b73d4fb59db388a17569632f0b6c4d6f25d35
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Mon Mar 22 11:27:05 2021 +0100

    misc: pylint fix using-constant-test (#52222)

commit d88dd530f61557c0c06e8dae55f7689af34a4621
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Mon Mar 22 11:14:42 2021 +0100

    misc: pylint fix unneeded-not (#52222)

commit 17d73057b718db60fc60a7b0417aa533a7ffb719
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Mon Mar 22 11:02:15 2021 +0100

    misc: pylint fix consider-using-in (#52222)

commit f2a3f4c3003b892beeda77be7a4bb504727f2814
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Mon Mar 22 10:59:34 2021 +0100

    misc: pylint fix no-else-raise (#52222)

commit daf108ffd546223029dd5ada7f4568459c8a6e4e
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Mon Mar 22 10:56:28 2021 +0100

    misc: pylint fix bad-classmethod-argument (#52222)

commit d3f8af1166ae85557ab9e94441eed6c671645377
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Mon Mar 22 10:28:40 2021 +0100

    misc: pylint fix function-redefined (#52222)

commit 46be3ca3ceca97bb50f02fddaac2773ffff7906e
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Mon Mar 22 10:09:32 2021 +0100

    misc: pylint fix simplifiable-if-statement (#52222)

commit e8ec57ac999d58df9699d409acc1b57858819c3a
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Mon Mar 22 09:43:39 2021 +0100

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

commit 9b448b3232bd6021696ef88c469c39fbceb41311
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Mon Mar 22 09:23:31 2021 +0100

    misc: pylint fix unidiomatic-typecheck (#52222)

commit f21431cb8a8db1cada58899cc1451de749631cb6
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Mon Mar 22 09:19:23 2021 +0100

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

commit edab61d2270a800203fb27c4b704de9ae24c2cdc
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Sat Mar 20 23:46:43 2021 +0100

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

commit 14c491d93b298845ed58de6fe3c9a217ec539cba
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Sat Mar 20 23:25:10 2021 +0100

    misc: pylint fix spacing around comments (#52222)

commit 41bf7dfac94e1716a6d674c10d956e7d3791fe58
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Sat Mar 20 23:07:57 2021 +0100

    misc: pylint fix bare-except (#52222)

commit 157f97a27a556c3e6d41745d7933324ed1c9b30d
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Fri Mar 19 22:49:33 2021 +0100

    misc: pylint fix unused-variable (#52222)

commit fe8b9f3d7a591ae302f23a40d0c79d27be80f323
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Fri Mar 19 18:48:46 2021 +0100

    misc: pylint fix unused-import (#52222)

commit 6893e0dd80d7307cd0c86f0b44e97e372d9ae33b
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Fri Mar 19 18:39:01 2021 +0100

    misc: pylint fix super-with-arguments (#52222)

commit 6ca8dc014c52dd221a2454e6f03431d4d5a03a21
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Fri Mar 19 16:53:37 2021 +0100

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

commit 04f68506dc56e7370b75416cc78f5f478999719d
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Fri Mar 19 14:25:04 2021 +0100

    misc: pylint fix wrong-import-position (#52222)

commit 97f7e9d51622af6eb123c7dda54cf188a07a7364
Author: Lauréline Guérin <zebuline@entrouvert.com>
Date:   Mon Mar 22 14:44:53 2021 +0100

    misc: integrate pylint.rc in repo (#52222)
#15

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