/
githubmirror
/
zulip
Обзор
Документация
Войти
/
githubmirror
/
zulip
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
8.5
scripts/lib/pythonrc.py
12 строк
374 B
Anders Kaseorg
ruff: Fix M001 Unused `noqa` directive.
03 ноя 2022, 22:10
03 ноя 2022, 22:10
9d2d6c8
Код
Авторство
О чём код?
try: from django.conf import settings # noqa: F401 from analytics.models import * # noqa: F403 from zerver.models import * # noqa: F403 except Exception: import traceback print("\nException importing Zulip core modules on startup!") traceback.print_exc() else: print("\nSuccessfully imported Zulip settings, models, and actions functions.")