diff options
| author | Alex Schofield <git@ajschof.me> | 2025-02-17 01:14:25 +0000 |
|---|---|---|
| committer | Alex Schofield <git@ajschof.me> | 2025-02-17 01:14:25 +0000 |
| commit | d1c0d349ed666ef3959c00cfb30dc5ad5e786e2c (patch) | |
| tree | 97835a6a04235daff0e9ad695c8bf64ffeb6498c | |
| parent | fd7598acd7e33782090d7f866fa51c167e2190c8 (diff) | |
| download | gdpr-obfuscator-d1c0d349ed666ef3959c00cfb30dc5ad5e786e2c.tar.gz gdpr-obfuscator-d1c0d349ed666ef3959c00cfb30dc5ad5e786e2c.zip | |
anti-pattern: remove unused __init__ for CSVReader
| -rw-r--r-- | obfuscator/csv_reader.py | 5 |
1 files changed, 1 insertions, 4 deletions
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 [] |
