* chore: refactor code for improved readability and maintainability
- Standardize variable naming conventions for consistency.
- Improve logging messages for better clarity and debugging.
- Remove unnecessary imports and clean up code structure.
- Enhance error handling and logging in various modules.
- Update comments and docstrings for better understanding.
- Optimize imports and organize them logically.
- Ensure consistent formatting across files for better readability.
- Refactor functions to reduce complexity and improve performance.
- Add missing type hints and annotations for better code clarity.
- Improve test coverage and organization in test files.
style(tests): apply consistent formatting and spacing in test files for improved readability and maintainability
* chore(tests): remove redundant test for ensure_tables_created with no models to streamline test suite and reduce maintenance overhead
* fix(memory.py): update is_binary_file function to correctly identify binary files by returning True for non-text mime types