You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c48b4c9
Browse filesBrowse the repository at this point in the historyBrowse files
chore: enforce import placement via pre-commit, pre-push, and CI
AGENTS.md has required all imports at the top of the file for a long time, but
nothing checked it, so function-level imports accumulated. check_import_placement.py
fails a nested import unless a comment explains why (>=4 words; noqa-style
directives do not count), and treats a try/except ImportError guard as
self-explanatory.
Also fixes every existing violation, so the repository starts clean and any
future failure is something the change introduced.
0 commit comments