⬆️ Update dependency ruff to v0.0.285 #433
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.284
->0.0.285
Release Notes
astral-sh/ruff (ruff)
v0.0.285
Compare Source
What's Changed
New rules
flake8-pytest-style
] Implementpytest-unittest-raises-assertion
(PT027
) by @harupy in https://github.com/astral-sh/ruff/pull/6554flake8-pytest-style
] Implementpytest-duplicate-parametrize-test-cases
(PT014
) by @harupy in https://github.com/astral-sh/ruff/pull/6598flake8-tidy-imports
] Implementbanned-module-level-imports
(TID253
) by @durumu in https://github.com/astral-sh/ruff/pull/6378pylint
] Implementbad-dunder-name
(W3201
) (in the Ruff nursery) by @LaBatata101 in https://github.com/astral-sh/ruff/pull/6486pylint
] Implementsubprocess-run-check
(W1510
) by @tjkuson in https://github.com/astral-sh/ruff/pull/6487ruff
] Implementquadratic-list-summation
(RUF017
) by @evanrittenhouse in https://github.com/astral-sh/ruff/pull/6489Rule changes
flake8-bugbear
] Add autofix forB006
by @qdegraaf in https://github.com/astral-sh/ruff/pull/6131flake8-pyi
] Avoid applyingPYI055
to runtime-evaluated annotations by @charliermarsh in https://github.com/astral-sh/ruff/pull/6457flake8-self
] Allowos._exit
accesses inSLF001
by @charliermarsh in https://github.com/astral-sh/ruff/pull/6490perflint
] IgnorePERF203
iftry
contains loop control flow statements by @evanrittenhouse in https://github.com/astral-sh/ruff/pull/6536pylint
] Check for invalid format type specifiers in nested replacements forPLE1300
by @zanieb in https://github.com/astral-sh/ruff/pull/6616tryceratops
] OmitNotImplementedError
fromTRY003
by @charliermarsh in https://github.com/astral-sh/ruff/pull/6568Settings
.ipynb
and.pyi
sources when linting from stdin by @charliermarsh in https://github.com/astral-sh/ruff/pull/6628raises_require_match_for
andraises_require_match_for
by @harupy in https://github.com/astral-sh/ruff/pull/6635Bug Fixes
lambda-assignment
fix always-manual in class bodies by @charliermarsh in https://github.com/astral-sh/ruff/pull/6626E721
by @charliermarsh in https://github.com/astral-sh/ruff/pull/6469E402
by @charliermarsh in https://github.com/astral-sh/ruff/pull/6526invalid-envvar-value
by @charliermarsh in https://github.com/astral-sh/ruff/pull/6538locals()
by @charliermarsh in https://github.com/astral-sh/ruff/pull/6578await
in Jupyter notebooks by @charliermarsh in https://github.com/astral-sh/ruff/pull/6607pandas#values
for stores, deletes, or class accesses by @charliermarsh in https://github.com/astral-sh/ruff/pull/6631E712
fix by @charliermarsh in https://github.com/astral-sh/ruff/pull/6575I002
by @durumu in https://github.com/astral-sh/ruff/pull/6523PLE1300
by @zanieb in https://github.com/astral-sh/ruff/pull/6616Playground
Performance
New Contributors
Full Changelog: astral-sh/ruff@v0.0.284...v0.0.285
Configuration
📅 Schedule: Branch creation - "before 6am every weekday" in timezone Europe/Amsterdam, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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.