Skip to content

Commit

Permalink
Fix pydocstyle issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kinow committed Oct 30, 2021
1 parent 4c914d1 commit 7090bea
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions wdl2cwl/WdlV1_1ParserVisitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,19 @@
# This class defines a complete generic visitor for a parse tree produced by WdlV1_1Parser.

class Struct:
"""
A class to represent WDL's Struct's.
"""
"""A class to represent WDL's Struct's."""

def __init__(self, name: str):
"""
:param name: struct name.
"""
""":param name: struct name."""
self.name = name
self.fields: List[str] = []


class WdlV1_1ParserVisitor(ParseTreeVisitor):
"""WDL parser AST visitor."""

def __init__(self):
"""Create a visitor."""
self.structs = []
self.task_inputs = []
self.task_inputs_bound = []
Expand Down

0 comments on commit 7090bea

Please sign in to comment.