pypi ruff 0.0.237
v0.0.237

latest releases: 0.6.9, 0.6.8, 0.6.7...
20 months ago

What's Changed

Breaking Changes

--explain, --clean, and --generate-shell-completion are now implemented as subcommands (#2190):

ruff .         # Still works! And will always work.
ruff check .   # New! Also works.

ruff --explain E402   # Still works.
ruff rule E402        # New! Also works. (And preferred.)

# Oops! The command has to come first.
ruff --format json --explain E402   # No longer works.
ruff --explain E402 --format json   # Still works!
ruff rule E402   --format json      # Works! (And preferred.)

This change is largely backwards compatible -- most users should experience no change in behavior. For exceptions, see BREAKING_CHANGES.md.

Rules

Settings

Bug Fixes

New Contributors

Full Changelog: v0.0.236...v0.0.237

Don't miss a new ruff release

NewReleases is sending notifications on new releases.