Permettre l'utilisation de pylint>3 (#84019) #189
|
@ -12,7 +12,7 @@ DATABASES = {
|
|||
}
|
||||
}
|
||||
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"]))')
|
||||
|
||||
TEMPFILE=`mktemp`
|
||||
trap "rm -f ${TEMPFILE} ${CHECK_MIGRATIONS_SETTINGS}" EXIT
|
||||
|
||||
|
|
|
@ -160,7 +160,7 @@ INSTALLED_APPS = (
|
|||
'authentic2.apps.authenticators',
|
||||
'authentic2.apps.journal',
|
||||
'authentic2.backends',
|
||||
'authentic2',
|
||||
'authentic2.app.Authentic2Config',
|
||||
'django_rbac',
|
||||
'authentic2.a2_rbac',
|
||||
'gadjo',
|
||||
|
|
Loading…
Reference in New Issue
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