⬆️ Update dependency ruff to v0.0.272 #1034
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.270->0.0.272Release Notes
charliermarsh/ruff
v0.0.272Compare Source
What's Changed
Breaking Changes
Rules
flake8-pyi] Implement PYI050 by @density in https://github.com/charliermarsh/ruff/pull/4884Bug Fixes
dict.getfix before ternary rewrite by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4944C413fix as suggested forreversedcall by @dhruvmanila in https://github.com/charliermarsh/ruff/pull/4891B905by @kyoto7250 in https://github.com/charliermarsh/ruff/pull/4914Full Changelog: astral-sh/ruff@v0.0.271...v0.0.272
v0.0.271Compare Source
What's Changed
Rules
airflow] Add AIR001: task variable name should be same as task_id arg by @jlaneve in https://github.com/charliermarsh/ruff/pull/4687flake8-bandit] Implement S609, linux_commands_wildcard_injection by @scop in https://github.com/charliermarsh/ruff/pull/4504flake8-bugbear] Move duplicate-value rule to flake8-bugbear by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4882flake8-fixme] Implementflake8_fixmeand refactorTodoDirectiveby @evanrittenhouse in https://github.com/charliermarsh/ruff/pull/4681flake8-future-annotations] ImplementFA102by @akx in https://github.com/charliermarsh/ruff/pull/4702flake8-pyi] Add PYI024 forflake8-pyiplugin by @qdegraaf in https://github.com/charliermarsh/ruff/pull/4756flake8-pyi] Add PYI034 forflake8-pyiplugin by @qdegraaf in https://github.com/charliermarsh/ruff/pull/4764flake8-pyi] AddPYI032rule with autofix by @qdegraaf in https://github.com/charliermarsh/ruff/pull/4695flake8-pyi] Add autofix for PYI010 by @qdegraaf in https://github.com/charliermarsh/ruff/pull/4634flake8-pyi] Implement PYI029 by @density in https://github.com/charliermarsh/ruff/pull/4851flake8-pyi] Implement PYI035 by @density in https://github.com/charliermarsh/ruff/pull/4820flake8-pyi] Implement PYI048 forflake8-pyiplugin by @qdegraaf in https://github.com/charliermarsh/ruff/pull/4645flake8-pyi] Implement PYI053 by @density in https://github.com/charliermarsh/ruff/pull/4770flake8-pyi] Implement PYI054 by @density in https://github.com/charliermarsh/ruff/pull/4775flake8-pyi] ImplementPYI025by @qdegraaf in https://github.com/charliermarsh/ruff/pull/4791flake8-pyi] ImplementPYI045by @density in https://github.com/charliermarsh/ruff/pull/4700pylint] Add Pylint ruleC0208(use-sequence-for-iteration) asPLC0208(iteration-over-set) by @tjkuson in https://github.com/charliermarsh/ruff/pull/4706pylint] Add autofix forPLR1701(repeated-isinstance-calls) by @dhruvmanila in https://github.com/charliermarsh/ruff/pull/4792pylint] Implement Pylint'syield-inside-async-functionrule (PLE1700) by @chanman3388 in https://github.com/charliermarsh/ruff/pull/4668pylint] implement E307 for pylint invalid str return type by @Ryang20718 in https://github.com/charliermarsh/ruff/pull/4854ruff] Lint pyproject.toml by @konstin in https://github.com/charliermarsh/ruff/pull/4496tryceratops] Ignore error calls withexc_infoin TRY400 by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4797Settings
pyflakes.extend-genericssetting by @JonathanPlasse in https://github.com/charliermarsh/ruff/pull/4677Bug Fixes
B024by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4647async forformatting by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4675join()arguments are strings by @evanrittenhouse in https://github.com/charliermarsh/ruff/pull/4834__all__by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4885New Contributors
Full Changelog: astral-sh/ruff@v0.0.270...v0.0.271
Configuration
📅 Schedule: Branch creation - "before 2am" (UTC), 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.