From 56c4e5b3e6c0113b1c0a97b4f96d7d183a573140 Mon Sep 17 00:00:00 2001 From: Lee Watson Date: Sun, 3 Mar 2024 22:54:07 +0000 Subject: [PATCH] Make LSP stop whining --- gentoogram/meta.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gentoogram/meta.py b/gentoogram/meta.py index 6d5bcaa..b2fa5ff 100644 --- a/gentoogram/meta.py +++ b/gentoogram/meta.py @@ -16,8 +16,8 @@ import os VERSION: str = "[version unknown]" -_META_VERSION: str = os.getenv("META_VERSION") -_META_HASH: str = os.getenv("META_VERSION_HASH") +_META_VERSION: str | None = os.getenv("META_VERSION") +_META_HASH: str | None = os.getenv("META_VERSION_HASH") if _META_VERSION and _META_HASH: VERSION = f"{_META_VERSION}-{_META_HASH[:8]}"