⬆️ Update dependency ruff to ^0.0.238#47
Merged
renovate[bot] merged 1 commit intomainfrom Jan 31, 2023
Merged
Conversation
Signed-off-by: Renovate Bot <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.237->^0.0.238Release Notes
charliermarsh/ruff
v0.0.238Compare Source
What's Changed
select,extend-select,ignore, andextend-ignorehave new semantics (#2312)Previously, the interplay between
selectand its related options could lead to unexpected behavior. For example,ruff --select E501 --ignore ALLandruff --select E501 --extend-ignore ALLbehaved differently. (See #2312 for more examples.)The new semantics are such that Ruff uses the "highest-priority"
selectas the basis for the rule set, and then applies anyextend-select,ignore, andextend-ignoreadjustments. CLI options are given higher priority thanpyproject.tomloptions, and the currentpyproject.tomlfile is given higher priority than any inheritedpyproject.tomlfiles.As an example:
ruff --select F401will select ruleF401, and ignore any of the modifiers from thepyproject.toml, as the "highest-priorty" select kicks off the resolution chain.This change is largely backwards compatible -- most users should experience no change in behavior. For more, see BREAKING_CHANGES.md.
remove-six-compat(UP016) has been removed (#2332)The
remove-six-compatrule has been removed. This rule was only useful for one-time Python 2-to-3 upgrades.Rules
too-many-argumentsrule (PLR0913) by @akhildevelops in https://github.com/charliermarsh/ruff/pull/2308Settings
ruff lintersubcommand by @not-my-profile in https://github.com/charliermarsh/ruff/pull/2294Bug Fixes
exc_infologger rules by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2364TRY201] don't check raise statements in nested exception handlers by @sciyoshi in https://github.com/charliermarsh/ruff/pull/2337I001] fix isort for files with tab-based indentation by @sciyoshi in https://github.com/charliermarsh/ruff/pull/2361New Contributors
Full Changelog: astral-sh/ruff@v0.0.237...v0.0.238
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.