python: Add noqa comments for the specific star imports we allow.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2020-06-10 17:53:32 -07:00
committed by Tim Abbott
parent 491fb3c3cf
commit 0e5946ee5a
4 changed files with 12 additions and 12 deletions

View File

@@ -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!")