Define TAX_FILE after DATA_DIR to avoid divergent fallbacks #32
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?
Severity: low
Category: tech-debt
Location:
app.py:57 vs 172Problem
TAX_FILE is built with its own inline DATA_DIR lookup before the canonical DATA_DIR is defined; a future fallback change silently diverges.
Suggested fix
Move
TAX_FILE = os.path.join(DATA_DIR, 'taxes.json')below the DATA_DIR definition.Filed by automated code review.