mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
python: Add noqa comments for the specific star imports we allow.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
491fb3c3cf
commit
0e5946ee5a
@@ -1,8 +1,8 @@
|
||||
try:
|
||||
from django.conf import settings
|
||||
from zerver.models import *
|
||||
from zerver.lib.actions import *
|
||||
from analytics.models import *
|
||||
from django.conf import settings # noqa: F401
|
||||
from zerver.models import * # noqa: F401, F403
|
||||
from zerver.lib.actions import * # noqa: F401, F403
|
||||
from analytics.models import * # noqa: F401, F403
|
||||
except Exception:
|
||||
import traceback
|
||||
print("\nException importing Zulip core modules on startup!")
|
||||
|
||||
Reference in New Issue
Block a user