From d1c0d349ed666ef3959c00cfb30dc5ad5e786e2c Mon Sep 17 00:00:00 2001 From: Alex Schofield Date: Mon, 17 Feb 2025 01:14:25 +0000 Subject: anti-pattern: remove unused __init__ for CSVReader --- obfuscator/csv_reader.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'obfuscator/csv_reader.py') diff --git a/obfuscator/csv_reader.py b/obfuscator/csv_reader.py index 1fb1e30..55fb892 100644 --- a/obfuscator/csv_reader.py +++ b/obfuscator/csv_reader.py @@ -7,9 +7,6 @@ logger = get_logger("CSVReader") class CSVReader: - def __init__(self): - pass - @staticmethod def read_local(path) -> List[Dict[str, str]]: logger.debug(f"Reading local CSV from: {path}") @@ -33,7 +30,7 @@ class CSVReader: return [] @staticmethod - def read_string(self, content: str) -> List[Dict[str, str]]: + def read_string(content: str) -> List[Dict[str, str]]: if not content.strip(): return [] -- cgit v1.2.3