Remove top-level helpers.py after migration to helpers/ package
#33
Labels
No Label
ai-changes-requested
ai-failed
ai-pr-opened
ai-reviewed
ai-reviewing
ai-working
ai-working
bug
enhancement
feature
in-queue
performance
security
tech-debt
todo
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cal/paper-dynasty-discord#33
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Both
helpers.pyandhelpers/main.pyare 2153/2155 lines with identical function signatures. Creates confusion about which is canonical, doubles maintenance burden, and bug fixes may be applied to one but not the other.PR #65 opens the fix: #65
Approach: Simply deleted
helpers.py(2153 lines). Python's module resolution always prefers thehelpers/package (directory with__init__.py) overhelpers.py, so the file was never reachable at runtime. No caller changes needed — allimport helpers/from helpers import ...statements already resolve to the package.PR #105 addresses this: #105
Deleted the top-level
helpers.py(2153 lines). All imports in the codebase already usefrom helpers import ...orfrom helpers.xxx import ...(package form), so no import fixes were needed. Python's module resolution always preferred thehelpers/package over the top-level file anyway.