⬆️ Update dependency ruff to v0.0.280 #739
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.278
->0.0.280
Release Notes
astral-sh/ruff (ruff)
v0.0.280
Compare Source
v0.0.279
Compare Source
What's Changed
Rules
flake8-pyi
] Implement flake8-pyi's PYI026 by @LaBatata101 in https://github.com/astral-sh/ruff/pull/5844flake8-pyi
] Implement flake8-pyi'sPYI017
by @qdegraaf in https://github.com/astral-sh/ruff/pull/5895flake8-pyi
] Implement flake8-pyi'sPYI036
by @density in https://github.com/astral-sh/ruff/pull/5668flake8-pyi
] Implement flake8-pyi'sPYI041
by @density in https://github.com/astral-sh/ruff/pull/5722flake8-use-pathlib
] Implementos-path-getsize
andos-path-get(a|m|c)-time
(PTH202-205
) by @sbrugman in https://github.com/astral-sh/ruff/pull/5835flake8-use-pathlib
] Implementpath-constructor-default-argument
(PTH201
) by @sbrugman in https://github.com/astral-sh/ruff/pull/5833pandas-vet
] Implement constant series rule (PD101
) by @sbrugman in https://github.com/astral-sh/ruff/pull/5802pylint
] Implement Pylint'sconsider-using-in
(PLR1714
) by @tjkuson in https://github.com/astral-sh/ruff/pull/5193Rule changes
flake8-annotations
] Check forAny
in other types forANN401
by @dhruvmanila in https://github.com/astral-sh/ruff/pull/5601flake8-bugbear
] Add autofix for B004 by @density in https://github.com/astral-sh/ruff/pull/5788flake8-bugbear
] RemoveB904
's lowercase exemption by @charliermarsh in https://github.com/astral-sh/ruff/pull/5751flake8-use-pathlib
] extend PTH118 withos.sep
by @sbrugman in https://github.com/astral-sh/ruff/pull/5935pyupgrade
] Expand scope ofquoted-annotation
rule (UP037
) by @charliermarsh in https://github.com/astral-sh/ruff/pull/5766pyupgrade
] Extend PEP 604 rewrites to support some quoted annotations by @charliermarsh in https://github.com/astral-sh/ruff/pull/5725ruff
] ExpandRUF015
to include all expression types by @charliermarsh in https://github.com/astral-sh/ruff/pull/5767Bug Fixes
Enum
-and-str
subclasses for slots enforcement by @charliermarsh in https://github.com/astral-sh/ruff/pull/5749sorted
with differing arguments by @density in https://github.com/astral-sh/ruff/pull/5761incorrect-dict-iterator
by @charliermarsh in https://github.com/astral-sh/ruff/pull/5763lint_only
aware of the source kind by @dhruvmanila in https://github.com/astral-sh/ruff/pull/5876redefined-while-unused
violations in classes by @charliermarsh in https://github.com/astral-sh/ruff/pull/5926--add-noqa
by @dhruvmanila in https://github.com/astral-sh/ruff/pull/5727EXE001
andEXE002
on WSL by @tjkuson in https://github.com/astral-sh/ruff/pull/5735Expr::Call
branches by @charliermarsh in https://github.com/astral-sh/ruff/pull/5772SetComp
by @lkh42t in https://github.com/astral-sh/ruff/pull/5774runtime-import-in-type-checking-block
(TCH004
) behind enabled flag by @charliermarsh in https://github.com/astral-sh/ruff/pull/5789pandas-use-of-dot-read-table
rule to emit only whenread_table
is used on CSV data by @tjkuson in https://github.com/astral-sh/ruff/pull/5807NamedTuple
calls containing both a list of fields and keywords by @harupy in https://github.com/astral-sh/ruff/pull/5799noqa
warnings by @sobolevn in https://github.com/astral-sh/ruff/pull/5856respect_gitignore
when not in a git repo by @dhruvmanila in https://github.com/astral-sh/ruff/pull/5937New Contributors
Full Changelog: astral-sh/ruff@v0.0.278...v0.0.279
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.