Describe the feature request
Add a pre-commit configuration to enforce consistent Python code formatting using black, isort, and autopep8. This will help ensure the codebase adheres to a standard style and reduce manual formatting during development.
Describe the solution you'd like
Introduce a .pre-commit-config.yaml file with hooks for black, isort, and autopep8. This setup should be installable via pre-commit install and documented in the project’s README or contributing guidelines. Developers should be able to run pre-commit run --all-files to apply formatting across the codebase.