Skip to content

ci(ty): allow the optional settings module import - #210

Open
PrivateBasicsApp wants to merge 1 commit into
etesync:masterfrom
PrivateBasicsApp:ci/ty-optional-settings-import
Open

PrivateBasicsApp wants to merge 1 commit into
etesync:masterfrom
PrivateBasicsApp:ci/ty-optional-settings-import

Conversation

@PrivateBasicsApp

Copy link
Copy Markdown

ty check fails on master. etebase_server/settings.py imports etebase_server_settings inside a try/except ImportError: it is an optional module that a deployment can provide to override the settings. This adds it to allowed-unresolved-imports, next to ldap.

The whole CI passes locally: uv lock --check, ruff check, ruff format --check, ty check, makemigrations --check and pytest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant