From 3910b6b3c15f7b6d440f830937ebaad37b7a117b Mon Sep 17 00:00:00 2001 From: PrivateBasicsApp Date: Sat, 5 Dec 2026 10:00:05 +0100 Subject: [PATCH] ci(ty): allow the optional settings module import --- pyproject.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c87acc1..d2ba706 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -74,8 +74,9 @@ ignore = ["E203", "E501", "E711", "E712", "N803", "N815", "N818", "T201"] combine-as-imports = true [tool.ty.analysis] -# Optional dependency, only needed for the LDAP integration. -allowed-unresolved-imports = ["ldap"] +# Optional modules: the LDAP dependency, only needed for the LDAP integration, and +# `etebase_server_settings`, which a deployment can provide to override the settings. +allowed-unresolved-imports = ["ldap", "etebase_server_settings"] [tool.pytest.ini_options] DJANGO_SETTINGS_MODULE = "tests.settings"