quaint-telephone-89068
10/30/2022, 5:32 PMimport tuhls.dashboard.settings as dashboard_settings
import utils.config as cfg
from django.conf import settings
c = cfg.ConfigDict()
apps = cfg.ConfigList(
"django.contrib.admin",
"django.contrib.auth",
"django.contrib.contenttypes",
"django.contrib.sessions",
"tuhls.dashboard",
"tuhls.dashboard.tests.dashboard_test",
"tuhls.icons",
)
c = cfg.base_settings(c, "dashboardtest", apps, True)
c = cfg.template_settings(c)
c = cfg.db_sqlite_test_settings(c)
c = dashboard_settings.base(c)
c.ROOT_URLCONF = "tuhls.dashboard.urls"
c.AUTH_USER_MODEL = "dashboard_test.TestUser"
c.LOGIN_URL = "/login/"
c.LOGOUT_REDIRECT_URL = "/"
settings.configure(**c)
as you can see, isort removed the double blank line after the imports (i think that's wrong)
but if i add the double blank line and run only lint it fails anyway
it could be a isort bug. i have ~1k python source files and it happens only in this file
is there an easy way to change the python tool versions?
pantsbuild/pants