From ea70f4889120bc01d2a5416b99e3faba9c28fe9d Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Mon, 17 Feb 2025 16:47:59 +0000 Subject: style: format code with Autopep8, Black and Ruff Formatter This commit fixes the style issues introduced in 00917b8 according to the output from Autopep8, Black and Ruff Formatter. Details: None --- cli.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cli.py') diff --git a/cli.py b/cli.py index bd4f79d..a4ab4c3 100644 --- a/cli.py +++ b/cli.py @@ -7,6 +7,7 @@ from obfuscator.logger import get_logger # Create the logger logger = get_logger("CLI") + def main(): # Create an argument parser parser = argparse.ArgumentParser(description="gdpr-obfuscator") @@ -41,6 +42,7 @@ def main(): # For debug purposes, log the obfuscated data as JSON for readability logger.debug(json.dumps(obfuscated_data, indent=4)) + # If the script is run directly (as it should be), call the main function if __name__ == "__main__": main() -- cgit v1.2.3