tox.ini: remove constraint on pylint version (#84019)
gitea/authentic/pipeline/head This commit looks good
Details
gitea/authentic/pipeline/head This commit looks good
Details
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).
This commit is contained in:
parent
293347c86b
commit
8eea700e99
|
@ -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