Bumps ruff from 0.0.292 to 0.1.0.
Release notes
Sourced from ruff's releases.
v0.1.0
Read the blog post about this release.
Read Ruff's new versioning policy.
This is the first release which uses the CHANGELOG file — change entries will be listed there and in each GitHub Release.
Changes
Breaking changes
- Unsafe fixes are no longer displayed or applied without opt-in (#7769)
- Drop formatting specific rules from the default set (#7900)
- The deprecated
format
setting has been removed (#7984)
- The
format
setting cannot be used to configure the output format, use output-format
instead
- The
RUFF_FORMAT
environment variable is ignored, use RUFF_OUTPUT_FORMAT
instead
- The
--format
option has been removed from ruff check
, use --output-format
instead
Rule changes
- Extend
reimplemented-starmap
(FURB140
) to catch calls with a single and starred argument (#7768)
- Improve cases covered by
RUF015
(#7848)
- Update
SIM15
to allow open
followed by close
(#7916)
- Respect
msgspec.Struct
default-copy semantics in RUF012
(#7786)
- Add
sqlalchemy
methods to `flake8-boolean-trap`` exclusion list (#7874)
- Add fix for
PLR1714
(#7910)
- Add fix for
PIE804
(#7884)
- Add fix for
PLC0208
(#7887)
- Add fix for
PYI055
(#7886)
- Update
non-pep695-type-alias
to require --unsafe-fixes
outside of stub files (#7836)
- Improve fix message for
UP018
(#7913)
- Update
PLW3201
to support Enum
sunder names (#7987)
Preview features
- Only show warnings for empty preview selectors when enabling rules (#7842)
- Add
unnecessary-key-check
to simplify key in dct and dct[key]
to dct.get(key)
(#7895)
- Add
assignment-in-assert
to prevent walrus expressions in assert statements (#7856)
- [
refurb
] Add single-item-membership-test
(FURB171
) (#7815)
- [
pylint
] Add and-or-ternary
(R1706
) (#7811)
New rules are added in preview.
Configuration
- Add
unsafe-fixes
setting (#7769)
- Add
extend-safe-fixes
and extend-unsafe-fixes
for promoting and demoting fixes (#7841)
CLI
... (truncated)
Changelog
Sourced from ruff's changelog.
0.1.0
Breaking changes
- Unsafe fixes are no longer displayed or applied without opt-in (#7769)
- Drop formatting specific rules from the default set (#7900)
- The deprecated
format
setting has been removed (#7984)
- The
format
setting cannot be used to configure the output format, use output-format
instead
- The
RUFF_FORMAT
environment variable is ignored, use RUFF_OUTPUT_FORMAT
instead
- The
--format
option has been removed from ruff check
, use --output-format
instead
Rule changes
- Extend
reimplemented-starmap
(FURB140
) to catch calls with a single and starred argument (#7768)
- Improve cases covered by
RUF015
(#7848)
- Update
SIM15
to allow open
followed by close
(#7916)
- Respect
msgspec.Struct
default-copy semantics in RUF012
(#7786)
- Add
sqlalchemy
methods to `flake8-boolean-trap`` exclusion list (#7874)
- Add fix for
PLR1714
(#7910)
- Add fix for
PIE804
(#7884)
- Add fix for
PLC0208
(#7887)
- Add fix for
PYI055
(#7886)
- Update
non-pep695-type-alias
to require --unsafe-fixes
outside of stub files (#7836)
- Improve fix message for
UP018
(#7913)
- Update
PLW3201
to support Enum
sunder names (#7987)
Preview features
- Only show warnings for empty preview selectors when enabling rules (#7842)
- Add
unnecessary-key-check
to simplify key in dct and dct[key]
to dct.get(key)
(#7895)
- Add
assignment-in-assert
to prevent walrus expressions in assert statements (#7856)
- [
refurb
] Add single-item-membership-test
(FURB171
) (#7815)
- [
pylint
] Add and-or-ternary
(R1706
) (#7811)
New rules are added in preview.
Configuration
- Add
unsafe-fixes
setting (#7769)
- Add
extend-safe-fixes
and extend-unsafe-fixes
for promoting and demoting fixes (#7841)
CLI
- Added
--unsafe-fixes
option for opt-in to display and apply unsafe fixes (#7769)
- Fix use of deprecated
--format
option in warning (#7837)
- Show changed files when running under
--check
(#7788)
- Write summary messages to stderr when fixing via stdin instead of omitting them (#7838)
- Update fix summary message in
check --diff
to include unsafe fix hints (#7790)
- Add notebook
cell
field to JSON output format (#7664)
- Rename applicability levels to
Safe
, Unsafe
, and Display
(#7843)
... (truncated)
Commits
Dependabot compatibility score
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it
@dependabot merge
will merge this PR after your CI passes on it
@dependabot squash and merge
will squash and merge this PR after your CI passes on it
@dependabot cancel merge
will cancel a previously requested merge and block automerging
@dependabot reopen
will reopen this PR if it is closed
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Uh oh!
There was an error while loading. Please reload this page.
Bumps ruff from 0.0.292 to 0.1.0.
Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
... (truncated)
Commits
172ac2c
Add entry for #7987 to 0.1.0 changelog (#7988)cac9754
Update fix safety FAQ to reflect--unsafe-fixes
(#7969)134def0
Allow sunder names fromenum.Enum
(#7987)1fabaca
Bump version to 0.1.0 (#7931)523f542
Remove support for providing output format viaformat
option (#7984)ee7575e
Bump regex to 1.10.2 (#7985)84f7391
Use Cow in printf rewrite rule (#7986)7da4e28
Bump aho-corasick from 1.1.1 to 1.1.2 (#7979)5718df6
Bump cloudflare/wrangler-action from 3.2.0 to 3.3.1 (#7982)4bb4cd3
Update and extend formatter ecosystem checks (#7981)Dependabot compatibility score
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)