aboutsummaryrefslogtreecommitdiffstats
path: root/obfuscator/csv_reader.py
diff options
context:
space:
mode:
authorAlex Schofield <git@ajschof.me>2025-02-17 01:14:25 +0000
committerAlex Schofield <git@ajschof.me>2025-02-17 01:14:25 +0000
commitd1c0d349ed666ef3959c00cfb30dc5ad5e786e2c (patch)
tree97835a6a04235daff0e9ad695c8bf64ffeb6498c /obfuscator/csv_reader.py
parentfd7598acd7e33782090d7f866fa51c167e2190c8 (diff)
downloadgdpr-obfuscator-d1c0d349ed666ef3959c00cfb30dc5ad5e786e2c.tar.gz
gdpr-obfuscator-d1c0d349ed666ef3959c00cfb30dc5ad5e786e2c.zip
anti-pattern: remove unused __init__ for CSVReader
Diffstat (limited to 'obfuscator/csv_reader.py')
-rw-r--r--obfuscator/csv_reader.py5
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 []
git.ajschof.me — hosted by ajschofield — powered by cgit