Update dependency ruff to v0.0.269 #188
Merged
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.0.267
->==0.0.269
Release Notes
charliermarsh/ruff
v0.0.269
Compare Source
What's Changed
(This is a rerelease of
v0.0.268
, which didn't make it to PyPI due to user error. As such, the release notes are copied below.)pycodestyle
This release includes optimized implementations of a large portion of
pycodestyle
, for those that use Ruff without an autoformatter.In this initial release, the rules are being introduced under a "nursery" flag, which requires that users explicitly select them (e.g.,
select = ["E111"]
); in other words, these rules are not yet enabled viaselect = ["E"]
.If you're interested in testing the
pycodestyle
rules, you can enable them via:These rules will be included as part of the
E
category in a future release.Breaking Changes
pyupgrade
] Removekeep-runtime-typing
setting by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4427Rules
pylint
] Addduplicate-bases
rule by @alonme in https://github.com/charliermarsh/ruff/pull/4411pylint
] FixPLW3301
auto-fix with generators by @JonathanPlasse in https://github.com/charliermarsh/ruff/pull/4412flake8-async
] Implement flake8-async plugin by @qdegraaf in https://github.com/charliermarsh/ruff/pull/4432pyupgrade
] Enable automatic rewrites oftyping.Deque
andtyping.DefaultDict
by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4420flake8-pyi
] Implementunannotated-assignment-in-stub
(PY052
) by @sladyn98 in https://github.com/charliermarsh/ruff/pull/4293tryceratops
] Implement TRY302 -raise
afterexcept
by @john-h-k in https://github.com/charliermarsh/ruff/pull/4461flake8-bandit
] Improve SQL injection detection logic (S608
) by @scop in https://github.com/charliermarsh/ruff/pull/4499flake8-todos
] Implementflake8_todos
by @evanrittenhouse in https://github.com/charliermarsh/ruff/pull/3921flake8-future-annotations
] Implementflake8-future-annotations
FA100 by @TylerYep in https://github.com/charliermarsh/ruff/pull/3979pycodestyle
rules by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3689pycodestyle
rules under new "nursery" category by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4407Settings
Bug Fixes
RUF010
autofix within f-strings by @JonathanPlasse in https://github.com/charliermarsh/ruff/pull/4423pd#at
and friends on non-subscripts by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4474New Contributors
Full Changelog: astral-sh/ruff@v0.0.267...v0.0.269
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.