Permettre l'utilisation de pylint>3 (#84019) #189
Loading…
Reference in New Issue
No description provided.
Delete Branch "wip/84019-tox-ini-retirer-la-constrainte-p"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
authentic2.apps module had to be renamed in authntic2.app and le
AppConfig class referenced explicitely in settings.py to prevent
collision with the authentic2.apps package (it only bothers pylint,
python3 is happy to load Django applications from authentic2.apps in the
previous situation).
72abcc66aa
to266da4e795
266da4e795
toe37fcd98da
@ -13,3 +13,3 @@
}
EOF
APPS=$(env DJANGO_SETTINGS_MODULE=authentic2.settings python -c 'from django.conf import settings; print(" ".join(p for p in (p.split(".")[-1] for p in settings.INSTALLED_APPS if not p.startswith("django.")) if p not in ["admin", "auth", "contenttypes"]))')
APPS=$(env DJANGO_SETTINGS_MODULE=authentic2.settings python -c 'from django.conf import settings; print(" ".join(p for p in ((p.split(".")[-1] if not p.endswith("Config") else p.split(".")[-3]) for p in settings.INSTALLED_APPS if not p.startswith("django.")) if p not in ["admin", "auth", "contenttypes"]))')
Si ça n'embête que pylint il faut préférer un
# ignore
plutôt que la modification d'un truc fragile IMOCe n'est pas possible, pylint n'arrive pas à résoudre tout les packages dans authentic2.apps, ce n'est pas juste une ligne qui l'embête.
Marrant en première lecture j'avais cru qu'on touchait ici à un script de config du paquet debian ou autre, clairement osef de ce qui se passe dans check-migrations.sh, déso pour le bruit
Permettre l'utilisation de pylint>3 (#83019)to Permettre l'utilisation de pylint>3 (#84019)e37fcd98da
to8eea700e99