Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions github_scripts/suite_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ class SuiteData:
"-v-",
)

def __init__(self) -> None:
def __init__(self, suite_path=None) -> None:
self.dependencies = {}
self.rose_data = {}
self.suite_path = None
self.suite_path = suite_path
self.task_states = {}
self.temp_directory = None

Expand Down
2 changes: 1 addition & 1 deletion github_scripts/suite_report_git.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class SuiteReport(SuiteData):
close_collapsed = "</details>"

def __init__(self, suite_path: Path) -> None:
self.suite_path: Path = suite_path
super().__init__(suite_path)
self.suite_user = suite_path.owner()
self.suite_starttime: str = self.get_suite_starttime()
self.workflow_id: str = self.get_workflow_id()
Expand Down
1 change: 1 addition & 0 deletions umdp3_fixer/ampersands.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ class CharError(ParsingError):
"""

def __init__(self, char, number):
super().__init__()
self.number = number
self.char = char
self.msg = 'There are {0:d} unquoted, uncommented "{1:s}" in this line.'.format(
Expand Down
1 change: 1 addition & 0 deletions umdp3_fixer/fstring_parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ class QuoteError(ParsingError):
"""

def __init__(self, quote, number):
super().__init__()
self.number = number
self.quote = quote
self.quotemarks = {"'": "single quotes", '"': "double quotes"}
Expand Down
Loading