diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f8ea267..b4024f7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ repos: hooks: - id: black name: black - entry: venv/bin/black --config pyproject.toml + entry: venv/bin/black language: system types: [python] diff --git a/config/definitions.py b/config/definitions.py index 2242e75..79d5642 100644 --- a/config/definitions.py +++ b/config/definitions.py @@ -1,4 +1,5 @@ -#!/usr/bin/env python +#### Turning off black formatting +# fmt: off from config.parser import get_config_value from config.env_vars import * # Define data types and default values for settingsDict variables diff --git a/pyproject.toml b/pyproject.toml deleted file mode 100644 index 1acbc47..0000000 --- a/pyproject.toml +++ /dev/null @@ -1,8 +0,0 @@ -[tool.black] -exclude = ''' -( - /(\.venv|venv|\.git|\.mypy_cache|\.pytest_cache|\.tox|build|dist)/ # Exclude virtual environments, caches, build directories - | .*definitions\.py$ # Exclude specific files (e.g., definitions.py) - | .*loadScripts\.py$ # Exclude loadScripts.py -) -''' \ No newline at end of file diff --git a/src/utils/loadScripts.py b/src/utils/loadScripts.py index ade5c9a..6418bdb 100644 --- a/src/utils/loadScripts.py +++ b/src/utils/loadScripts.py @@ -1,3 +1,5 @@ +#### Turning off black formatting +# fmt: off ########### Import Libraries import logging, verboselogs logger = verboselogs.VerboseLogger(__name__) @@ -226,8 +228,3 @@ def showLoggerLevel(settingsDict): logger.info(f'') logger.info(f'*'* 50) logger.info(f'*'* 50) - - - - -