Skip to content

Conversation

@vatsalllll
Copy link

  • Replace 'from ..utils.viz import *' with explicit imports
  • Add all declarations to viz.py and viz/init.py to define public API
  • Import only the functions actually used in each file
  • Remove unused import from mm_trainer.py

Benefits:

  • Clear visibility of which functions are being used
  • Better IDE autocomplete and code navigation
  • Easier to find and remove unused imports
  • Follows PEP 8 guidelines
  • Prevents namespace pollution

- Replace 'from ..utils.viz import *' with explicit imports
- Add __all__ declarations to viz.py and viz/__init__.py to define public API
- Import only the functions actually used in each file
- Remove unused import from mm_trainer.py

Benefits:
- Clear visibility of which functions are being used
- Better IDE autocomplete and code navigation
- Easier to find and remove unused imports
- Follows PEP 8 guidelines
- Prevents namespace pollution
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant