From 4b88971b3b7f329e6a00e79ead56e23d030a3fba Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Wed, 22 Apr 2020 23:10:06 +0300 Subject: [PATCH] Update type hint in spdx.py --- maubot/cli/util/spdx.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maubot/cli/util/spdx.py b/maubot/cli/util/spdx.py index 08e245b..aca303d 100644 --- a/maubot/cli/util/spdx.py +++ b/maubot/cli/util/spdx.py @@ -13,12 +13,12 @@ # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -from typing import Dict +from typing import Dict, Optional import zipfile import pkg_resources import json -spdx_list = None +spdx_list: Optional[Dict[str, Dict[str, str]]] = None def load() -> None: