Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==0.1.1
->==0.1.2
Release Notes
astral-sh/ruff (ruff)
v0.1.2
Compare Source
This release includes the Beta version of the Ruff formatter — an extremely fast, Black-compatible Python formatter.
Try it today with
ruff format
! Check out the blog post and read the docs.Preview features
pylint
] Implementnon-ascii-module-import
(C2403
) (#8056)pylint
] implementnon-ascii-name
(C2401
) (#8038)pylint
] Implement unnecessary-lambda (W0108) (#7953)refurb
] Implementread-whole-file
(FURB101
) (#7682)E223
,E224
, andE242
(#8143)E225
,E226
,E227
, andE228
(#8136)E252
(#8142)E261
(#8114)E273
andE274
(#8144)E275
(#8133)SIM401
to catch ternary operations (#7415)E721
to allowis
andis
not for direct type comparisons (#7905)Rule changes
backports.strenum
todeprecated-imports
(#8113)SIM112
to ignorehttps_proxy
,http_proxy
, andno_proxy
(#8140)literal-membership
(PLR6201
) to be unsafe (#8097)mutable-argument-defaults
(B006
) to be unsafe (#8108)Formatter
line-ending
default toauto
(#8057)has_own_parentheses
(#8100)--line-length
option fromformat
command (#8131)line-length
documentation (#8150)CLI
ruff format
command in help menus (#8167)ruff version
command with long version display (#8034)Configuration
pycodestyle.max-line-length
option (#8039)Bug fixes
sys.version_info
slices inoutdated-version-block
(#8112)TYPE_CHECKING
blocks (#8072)Documentation
too-many-arguments
lint (#8092)extend-unsafe-fixes
andextend-safe-fixes
example (#8139)flake8-import-conventions
options (#8115)Options
JSON schema description (#8081)pytext
->pytest
) (#8117)magic-value-comparison
example in docs (#8111)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.