From cba2f8eafa3b4609e9a0d5cb689374c48911d5aa Mon Sep 17 00:00:00 2001 From: Pierre Siddall <43399998+Pierre-siddall@users.noreply.github.com> Date: Thu, 12 Mar 2026 08:12:28 +0000 Subject: [PATCH 1/5] Fix suite report --- github_scripts/suite_report_git.py | 1 + 1 file changed, 1 insertion(+) diff --git a/github_scripts/suite_report_git.py b/github_scripts/suite_report_git.py index 0f472f69..5e173d49 100755 --- a/github_scripts/suite_report_git.py +++ b/github_scripts/suite_report_git.py @@ -69,6 +69,7 @@ class SuiteReport(SuiteData): close_collapsed = "" def __init__(self, suite_path: Path) -> None: + super.__init__() self.suite_path: Path = suite_path self.suite_user = suite_path.owner() self.suite_starttime: str = self.get_suite_starttime() From 3554fc55d614816d4c7309eb262729391c0b589c Mon Sep 17 00:00:00 2001 From: Pierre Siddall <43399998+Pierre-siddall@users.noreply.github.com> Date: Thu, 12 Mar 2026 08:15:19 +0000 Subject: [PATCH 2/5] Fix ampersands.py --- umdp3_fixer/ampersands.py | 1 + 1 file changed, 1 insertion(+) diff --git a/umdp3_fixer/ampersands.py b/umdp3_fixer/ampersands.py index 9d8debcb..31fd7ad4 100755 --- a/umdp3_fixer/ampersands.py +++ b/umdp3_fixer/ampersands.py @@ -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( From 09f0e1fa3023ae3f859eb82ccd373c33bcbd940a Mon Sep 17 00:00:00 2001 From: Pierre Siddall <43399998+Pierre-siddall@users.noreply.github.com> Date: Thu, 12 Mar 2026 08:16:21 +0000 Subject: [PATCH 3/5] Fix fstring_parse --- umdp3_fixer/fstring_parse.py | 1 + 1 file changed, 1 insertion(+) diff --git a/umdp3_fixer/fstring_parse.py b/umdp3_fixer/fstring_parse.py index b557cf92..5f39edd9 100644 --- a/umdp3_fixer/fstring_parse.py +++ b/umdp3_fixer/fstring_parse.py @@ -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"} From e4d1592c2ec1b786f9095e4861679ce1d274e7ab Mon Sep 17 00:00:00 2001 From: Pierre Siddall <43399998+Pierre-siddall@users.noreply.github.com> Date: Thu, 12 Mar 2026 09:16:14 +0000 Subject: [PATCH 4/5] Initialise suite path correctly --- github_scripts/suite_data.py | 4 ++-- github_scripts/suite_report_git.py | 3 +-- umdp3_fixer/ampersands.py | 2 +- umdp3_fixer/fstring_parse.py | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/github_scripts/suite_data.py b/github_scripts/suite_data.py index e06b702d..6d271ab6 100644 --- a/github_scripts/suite_data.py +++ b/github_scripts/suite_data.py @@ -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 diff --git a/github_scripts/suite_report_git.py b/github_scripts/suite_report_git.py index 5e173d49..5bf32254 100755 --- a/github_scripts/suite_report_git.py +++ b/github_scripts/suite_report_git.py @@ -69,8 +69,7 @@ class SuiteReport(SuiteData): close_collapsed = "" def __init__(self, suite_path: Path) -> None: - super.__init__() - 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() diff --git a/umdp3_fixer/ampersands.py b/umdp3_fixer/ampersands.py index 31fd7ad4..27bf99ad 100755 --- a/umdp3_fixer/ampersands.py +++ b/umdp3_fixer/ampersands.py @@ -54,7 +54,7 @@ class CharError(ParsingError): """ def __init__(self, char, number): - super.__init__() + super().__init__() self.number = number self.char = char self.msg = 'There are {0:d} unquoted, uncommented "{1:s}" in this line.'.format( diff --git a/umdp3_fixer/fstring_parse.py b/umdp3_fixer/fstring_parse.py index 5f39edd9..fdbdc189 100644 --- a/umdp3_fixer/fstring_parse.py +++ b/umdp3_fixer/fstring_parse.py @@ -36,7 +36,7 @@ class QuoteError(ParsingError): """ def __init__(self, quote, number): - super.__init__() + super().__init__() self.number = number self.quote = quote self.quotemarks = {"'": "single quotes", '"': "double quotes"} From c23235339822f6de6f2aa0628cfbff6c1372c431 Mon Sep 17 00:00:00 2001 From: Pierre Siddall <43399998+Pierre-siddall@users.noreply.github.com> Date: Thu, 12 Mar 2026 09:21:24 +0000 Subject: [PATCH 5/5] apply ruff --- github_scripts/suite_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github_scripts/suite_data.py b/github_scripts/suite_data.py index 6d271ab6..98c33109 100644 --- a/github_scripts/suite_data.py +++ b/github_scripts/suite_data.py @@ -36,7 +36,7 @@ class SuiteData: "-v-", ) - def __init__(self,suite_path=None) -> None: + def __init__(self, suite_path=None) -> None: self.dependencies = {} self.rose_data = {} self.suite_path = suite_path