aboutsummaryrefslogtreecommitdiffstats
path: root/obfuscator
diff options
context:
space:
mode:
authordeepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>2025-02-19 15:55:50 +0000
committerGitHub <noreply@github.com>2025-02-19 15:55:50 +0000
commit5402af2c7198a685a57a05e29a869e1e72a6b877 (patch)
tree9a1e95f4ccbdd04e19d67a6c13641a19c4d4f3e0 /obfuscator
parentb402ee55d9f9e37c772c47b703ae4b66b66adda6 (diff)
downloadgdpr-obfuscator-5402af2c7198a685a57a05e29a869e1e72a6b877.tar.gz
gdpr-obfuscator-5402af2c7198a685a57a05e29a869e1e72a6b877.zip
style: format code with Autopep8, Black and Ruff Formatter
This commit fixes the style issues introduced in b402ee5 according to the output from Autopep8, Black and Ruff Formatter. Details: https://github.com/ajschofield/gdpr-obfuscator/pull/8
Diffstat (limited to 'obfuscator')
-rw-r--r--obfuscator/logger.py1
-rw-r--r--obfuscator/utils.py1
2 files changed, 0 insertions, 2 deletions
diff --git a/obfuscator/logger.py b/obfuscator/logger.py
index 2c5b988..140fa8f 100644
--- a/obfuscator/logger.py
+++ b/obfuscator/logger.py
@@ -12,7 +12,6 @@ class LogLevel(Enum):
def get_logger(name: str, level: LogLevel = LogLevel.INFO) -> logging.Logger:
-
if isinstance(level, str):
try:
level = LogLevel[level.upper()]
diff --git a/obfuscator/utils.py b/obfuscator/utils.py
index f61451b..77ca1cf 100644
--- a/obfuscator/utils.py
+++ b/obfuscator/utils.py
@@ -3,7 +3,6 @@ from obfuscator.logger import get_logger
class Utilities:
-
def __init__(self, logger=None):
self.logger = get_logger("UTILITIES", logger)
git.ajschof.me — hosted by ajschofield — powered by cgit