Skip to content

feat: enforce uppercase LEGACY comments per issue #2#64

Open
zero00004 wants to merge 6 commits into
cuentaprueba244w-dotcom:mainfrom
zero00004:main
Open

feat: enforce uppercase LEGACY comments per issue #2#64
zero00004 wants to merge 6 commits into
cuentaprueba244w-dotcom:mainfrom
zero00004:main

Conversation

@zero00004

Copy link
Copy Markdown

Summary

Implements #2: Enforce uppercase LEGACY comments

Changes

  1. New: tools/legacy_caps_audit.py — Audit script that scans the repo for files containing legacy (case-insensitive) and verifies each has an uppercase LEGACY comment marker.
  2. Fix: Added LEGACY comments to all 40 violating files

Verification

Running python tools/legacy_caps_audit.py now reports 0 violations (50/50 compliant).

Closes #2

zero00004 and others added 6 commits June 20, 2026 15:28
Remove the erroneous output_format override that broke --format both.
The conditions already correctly handle 'both' by checking
if output_format in ("json", "both") and ("csv", "both"),
but the override changed 'both' to 'json' before the checks ran.
Add legacy_caps_audit.py script that scans for legacy files and verifies LEGACY comment markers. Auto-fix all 40 violations.

Closes #2
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.

[$6 BOUNTY] [Python] Enforce uppercase LEGACY comments

1 participant