diff options
author | Munyoki Kilyungi | 2023-10-26 17:52:29 +0300 |
---|---|---|
committer | BonfaceKilz | 2023-10-27 13:45:32 +0300 |
commit | b25a764081ed6694ef3745fd761d97118c7f9f0e (patch) | |
tree | ba00ef7bb1b64f83e26002d9dbb74031cac5537a | |
parent | d7451101b1a6a1bc0564ab5c9c4a23c54308926c (diff) | |
download | genenetwork3-b25a764081ed6694ef3745fd761d97118c7f9f0e.tar.gz |
Make implicit optional type hints PEP 484 compliant.
Ran the command:
pipx run no_implicit_optional ./
in the root directory.
-rw-r--r-- | gn3/api/metadata.py | 2 | ||||
-rw-r--r-- | gn3/computations/gemma.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gn3/api/metadata.py b/gn3/api/metadata.py index 53aa87d..299f82d 100644 --- a/gn3/api/metadata.py +++ b/gn3/api/metadata.py @@ -7,7 +7,7 @@ from flask import jsonify from flask import request from flask import current_app -from pyld import jsonld +from pyld import jsonld # type: ignore from gn3.db.rdf import RDF_PREFIXES from gn3.db.rdf import sparql_construct_query diff --git a/gn3/computations/gemma.py b/gn3/computations/gemma.py index 7f09b0a..15c2c75 100644 --- a/gn3/computations/gemma.py +++ b/gn3/computations/gemma.py @@ -3,7 +3,7 @@ import os from base64 import b64encode from hashlib import md5 -from typing import Dict +from typing import Optional, Dict from typing import List from typing import Optional from typing import ValuesView |