Skip to content

feat(cli)!: replace lint and fix with check - #17

Merged
zigai merged 2 commits into
mainfrom
cli-check
Oct 15, 2026
Merged

zigai merged 2 commits into
mainfrom
cli-check

Conversation

@zigai

@zigai zigai commented Oct 15, 2026

Copy link
Copy Markdown
Owner

Replace rattle lint and rattle fix with rattle check and an optional --fix flag. Checking leaves source unchanged; fixing applies changes and reports remaining violations.

Breaking Changes

Replace rattle lint . with:

rattle check .

Replace rattle fix . with:

rattle check --fix .

The old command names are removed. Interactive fixing requires --fix, and JSON output cannot be combined with fixing.

Verification

  • just test -- -q exercises checking, fixing, stdin handling, option conflicts, and rule selection on Python 3.11 through 3.15
  • In a scratch project, rattle check . reports violations without changing source, and rattle check --fix . applies the suggested changes

@zigai
zigai merged commit bac0c32 into main Oct 15, 2026
34 checks passed
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.

1 participant