mypy: Remove no_implicit_reexport override.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2023-09-08 16:04:23 -07:00 committed by Anders Kaseorg
parent b6cce494a8
commit ddba558f1d
2 changed files with 3 additions and 6 deletions

View File

@ -44,10 +44,6 @@ local_partial_types = true
plugins = ["mypy_django_plugin.main", "pydantic.mypy"] plugins = ["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]] [[tool.mypy.overrides]]
module = [ module = [
"ahocorasick.*", "ahocorasick.*",
@ -147,6 +143,7 @@ ignore = [
"N802", # Function name should be lowercase "N802", # Function name should be lowercase
"N806", # Variable in function should be lowercase "N806", # Variable in function should be lowercase
"PERF203", # `try`-`except` within a loop incurs performance overhead "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 "PLC1901", # `s == ""` can be simplified to `not s` as an empty string is falsey
"PLR0911", # Too many return statements "PLR0911", # Too many return statements
"PLR0912", # Too many branches "PLR0912", # Too many branches

View File

@ -11,14 +11,14 @@ from zerver.lib.db import TimeTrackingConnection, TimeTrackingCursor
from .config import ( from .config import (
DEPLOY_ROOT, DEPLOY_ROOT,
DEVELOPMENT,
PRODUCTION,
config_file, config_file,
get_config, get_config,
get_from_file_if_exists, get_from_file_if_exists,
get_mandatory_secret, get_mandatory_secret,
get_secret, get_secret,
) )
from .config import DEVELOPMENT as DEVELOPMENT
from .config import PRODUCTION as PRODUCTION
from .configured_settings import ( from .configured_settings import (
ADMINS, ADMINS,
ALLOWED_HOSTS, ALLOWED_HOSTS,