ruff: Fix N811 constant imported as non-constant.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2022-11-15 21:20:53 -08:00
committed by Tim Abbott
parent 2876ae8e48
commit 0258fba345
2 changed files with 4 additions and 4 deletions

View File

@@ -7,7 +7,7 @@ ZULIP_PATH = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__f
sys.path.insert(0, ZULIP_PATH)
from scripts.lib.setup_path import setup_path
from scripts.lib.zulip_tools import DEPLOYMENTS_DIR, assert_not_running_as_root, parse_version_from
from version import ZULIP_VERSION as new_version
from version import ZULIP_VERSION as NEW_VERSION
assert_not_running_as_root()
setup_path()
@@ -84,6 +84,6 @@ logging.error(
current_version,
len(missing),
ZULIP_PATH,
new_version,
NEW_VERSION,
)
sys.exit(1)