Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
mypy: Remove no_implicit_reexport override.
Anders Kaseorgddba558f1ded
diff --git a/pyproject.toml b/pyproject.tomlindex 315172ac5ad..c3eec8d7883 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -44,10 +44,6 @@ local_partial_types = trueplugins = ["mypy_django_plugin.main", "pydantic.mypy"]-[[tool.mypy.overrides]]-module = ["zproject.configured_settings", "zproject.settings", "zproject.default_settings"]-no_implicit_reexport = false-[[tool.mypy.overrides]]module = ["ahocorasick.*",@@ -147,6 +143,7 @@ ignore = ["N802", # Function name should be lowercase"N806", # Variable in function should be lowercase"PERF203", # `try`-`except` within a loop incurs performance overhead+ "PLC0414", # Import alias does not rename original package"PLC1901", # `s == ""` can be simplified to `not s` as an empty string is falsey"PLR0911", # Too many return statements"PLR0912", # Too many branchesdiff --git a/zproject/computed_settings.py b/zproject/computed_settings.pyindex df27bf8dff1..2aa7fed3002 100644--- a/zproject/computed_settings.py+++ b/zproject/computed_settings.py@@ -11,14 +11,14 @@ from zerver.lib.db import TimeTrackingConnection, TimeTrackingCursorfrom .config import (DEPLOY_ROOT,- DEVELOPMENT,- PRODUCTION,config_file,get_config,get_from_file_if_exists,get_mandatory_secret,get_secret,)+from .config import DEVELOPMENT as DEVELOPMENT+from .config import PRODUCTION as PRODUCTIONfrom .configured_settings import (ADMINS,ALLOWED_HOSTS,