Projet

Général

Profil

Development #52504

black vs isort

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

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

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

https://black.readthedocs.io/en/stable/compatible_configs.html#isort explique comment on pourrait avoir un formatage par isort compatible avec black, sans passer par un import par ligne.


Fichiers

Révisions associées

Révision ebd25302 (diff)
Ajouté par Frédéric Péters il y a environ 3 ans

trivial: update isort configuration to use black profile (#52504)

Révision 08f1431a (diff)
Ajouté par Frédéric Péters il y a environ 3 ans

trivial: apply new isort configuration (#52504)

Historique

#1

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

Utilisation du profil black + notre longueur de ligne, cf patch, et cf la branche pour le commit avec les modifs.

#2

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

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

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

  • Statut changé de Solution validée à Résolu (à déployer)
commit 08f1431a665aec6586960e78cbfda6da47aa6862
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Tue Mar 30 13:42:22 2021 +0200

    trivial: apply new isort configuration (#52504)

commit ebd2530296a5f0626b242d3a8ba47dc877eca44f
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Tue Mar 30 13:40:50 2021 +0200

    trivial: update isort configuration to use black profile (#52504)
#4

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