This is related to issue #452
Is your feature request related to a problem? Please describe.
this codebase currently generates problems during Flake8 linting checks in the pre-commit hook. These problems could be due to inconsistencies in code formatting or violations of PEP 8 style requirements.
Describe the solution you'd like
The primary goal of this issue is to address the Flake8 errors encountered during the pre-commit hook by improving code formatting to adhere to PEP 8 standards.