-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Hello everyone,
For our next major release, I'm proposing that we introduce a --fix command-line flag to automatically correct certain warnings reported by PyWard. This will significantly improve the user experience by allowing for instant, safe fixes without manual intervention.
This issue will serve as an umbrella issue to track the overall progress of adding auto-fix capabilities to our checks. The goal is to incrementally add support for auto-fixing to various rules.
Implementation Roadmap
This checklist will track the rules that are candidates for auto-fixing. Each item will be converted into its own dedicated issue.
- Core --fix flag infrastructure (Updating
cli.py, setting up the fixing mechanism) (See issue [Feature] Redesign and reimplement --fix architecture #39) - Unused Imports: Remove unused
importorfrom … importstatements. (See issue [Auto-Fix] Implement "Remove Unused Imports" #34)
Contribution
If you'd like to contribute by adding an auto-fix for an existing rule, please open a new issue detailing the implementation plan and link it back to this umbrella issue.