From 93c5489c8ececf609fcd0f88f6c8ffbc65635efb Mon Sep 17 00:00:00 2001 From: Josh Moore Date: Wed, 31 Jul 2024 16:12:26 +0200 Subject: [PATCH] Revert buffer.__init__ call --- pyproject.toml | 1 + src/ome2024_ngff_challenge/resave.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 44644f1..48c18ca 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -174,5 +174,6 @@ messages_control.disable = [ "missing-class-docstring", "no-member", "no-value-for-parameter", + "super-init-not-called", "unsupported-assignment-operation", ] diff --git a/src/ome2024_ngff_challenge/resave.py b/src/ome2024_ngff_challenge/resave.py index 919e424..aecfc44 100755 --- a/src/ome2024_ngff_challenge/resave.py +++ b/src/ome2024_ngff_challenge/resave.py @@ -71,7 +71,6 @@ class TextBuffer(Buffer): """ def __init__(self, text): - super().__init__(self) self.text = text self._data = list(text)