diff --git a/dev-requirements.txt b/dev-requirements.txt index e8cab36..40366c9 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -3,7 +3,7 @@ schema-salad[pycodegen] # Needs to validate v1.2 cwltool>=3.0.20200807132242 - +# To check type annotations mypy # For testing @@ -11,10 +11,8 @@ tox pytest coverage -# For dev -sphinx -sphinx_rtd_theme -myst-parser +# To build docs +-r docs/requirements.txt # Used to check readme. readme diff --git a/docs/requirements.txt b/docs/requirements.txt index cbf1e36..8430e28 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,2 +1,3 @@ +myst-parser sphinx sphinx-rtd-theme diff --git a/gxformat2/model.py b/gxformat2/model.py index 241ec67..0dc22fa 100644 --- a/gxformat2/model.py +++ b/gxformat2/model.py @@ -10,10 +10,7 @@ Union, ) -from typing_extensions import ( - Literal, - TypedDict, -) +from typing_extensions import Literal log = logging.getLogger(__name__) @@ -21,8 +18,6 @@ ConnectDict = dict -EmbeddedLink = TypedDict("EmbeddedLink", {"$link": str}) - NativeGalaxyStepType = Literal[ "subworkflow", "data_input",