Update type hint in spdx.py
This commit is contained in:
parent
593f2ae1d8
commit
4b88971b3b
@ -13,12 +13,12 @@
|
|||||||
#
|
#
|
||||||
# You should have received a copy of the GNU Affero General Public License
|
# You should have received a copy of the GNU Affero General Public License
|
||||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
from typing import Dict
|
from typing import Dict, Optional
|
||||||
import zipfile
|
import zipfile
|
||||||
import pkg_resources
|
import pkg_resources
|
||||||
import json
|
import json
|
||||||
|
|
||||||
spdx_list = None
|
spdx_list: Optional[Dict[str, Dict[str, str]]] = None
|
||||||
|
|
||||||
|
|
||||||
def load() -> None:
|
def load() -> None:
|
||||||
|
Loading…
Reference in New Issue
Block a user