Skip to content

Commit

Permalink
Merge pull request #1280 from gallardoalba/Annotate_cmd_normalize
Browse files Browse the repository at this point in the history
Planemo type annotation: module cmd_normalize
  • Loading branch information
nsoranzo committed Oct 6, 2022
2 parents bab81bb + 5e5720c commit de8766a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion planemo/commands/cmd_normalize.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
load_tool,
raw_tool_xml_tree,
)
from galaxy.util import Element

from planemo import options
from planemo.cli import command_function
Expand Down Expand Up @@ -84,7 +85,7 @@ def cli(ctx, path, expand_macros=False, **kwds):
ElementTree.dump(root)


def _indent(elem, level=0):
def _indent(elem: Element, level: int = 0) -> None:
# http://stackoverflow.com/questions/749796/pretty-printing-xml-in-python
i = "\n" + level * " "
if len(elem):
Expand Down

0 comments on commit de8766a

Please sign in to comment.