chore(deps): update dependency ruff to v0.0.283#124
Merged
Conversation
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.282->0.0.283Release Notes
astral-sh/ruff (ruff)
v0.0.283Compare Source
What's Changed
Breaking Changes
Rules
flake8-pyi]PYI019: Detects if a type variable is used instead ofSelfin return annotations by @qdegraaf in https://github.com/astral-sh/ruff/pull/6204flake8-pyi]PYI051: Detects unions ofLiteraltypes by @LaBatata101 in https://github.com/astral-sh/ruff/pull/6215flake8-pyi]PYI055: Detects unions oftypes by @LaBatata101 in https://github.com/astral-sh/ruff/pull/6316pylint]E1300: Detects invalid string format characters by @silvanocerza in https://github.com/astral-sh/ruff/pull/6171pyupgrade]UP040: Upgrades type alias annotations to use PEP-695 syntax by @zanieb in https://github.com/astral-sh/ruff/pull/6289Rule Changes
flake8-boolean-trap]FBT003: Addis_andis_notto excluded functions by @zanieb in https://github.com/astral-sh/ruff/pull/6307flake8-logging-format] Allow capitalized names for logger candidate heuristic match by @charliermarsh in https://github.com/astral-sh/ruff/pull/6356flake8-pyi] Applicable rules are now checked non-stub code by @andersk in https://github.com/astral-sh/ruff/pull/6297PYI013:ellipsis-in-non-empty-class-bodyPYI016:duplicate-union-memberPYI018:unused-private-type-varPYI019:custom-type-var-return-typePYI024:collections-named-tuplePYI025:unaliased-collections-abc-set-importPYI030:unnecessary-literal-unionPYI032:any-eq-ne-annotationPYI034:non-self-return-typePYI036:bad-exit-annotationPYI041:redundant-numeric-unionPYI042:snake-case-type-aliasPYI043:t-suffixed-type-aliasPYI045:iter-method-return-iterablePYI046:unused-private-protocolPYI047:unused-private-type-aliasPYI049:unused-private-typed-dictPYI050:no-return-argument-annotation-in-stub(Python ≥ 3.11)PYI051:redundant-literal-unionPYI056:unsupported-method-call-on-allflake8-pyi]PYI027is being replaced byPYI022/UP035by @LaBatata101 in https://github.com/astral-sh/ruff/pull/6354pydocstyle]D103: Don't require docstrings in.pyifiles by @charliermarsh in https://github.com/astral-sh/ruff/pull/6239pydocstyle]D203: Ignore same-line docstrings for lines-before and lines-after rules by @charliermarsh in https://github.com/astral-sh/ruff/pull/6344pylint]PLE0605: Allow generic tuple and list calls in__all__by @charliermarsh in https://github.com/astral-sh/ruff/pull/6247pylint]PLR0124: Add detection of comparisons with built-in calls by @charliermarsh in https://github.com/astral-sh/ruff/pull/6324pyupgrade]UP032: Add support forawaitexpressions in f-strings by @harupy in https://github.com/astral-sh/ruff/pull/6304pyupgrade]UP032: Add support for implicitly concatenated strings by @harupy in https://github.com/astral-sh/ruff/pull/6263pyupgrade]UP032: Add support for repeated format fields by @harupy in https://github.com/astral-sh/ruff/pull/6266ruff]RUF012: PermitClassVarandFinalwithout subscript by @bluetech in https://github.com/astral-sh/ruff/pull/6273Bug Fixes
flake8-bugbear]B006: Respecttyping_extensionsimports ofAnnotatedby @PIG208 in https://github.com/astral-sh/ruff/pull/6361flake8-pyi]PYI019: Fix panic with positional-only arguments by @charliermarsh in https://github.com/astral-sh/ruff/pull/6350flake8-use-pathlib] Avoid raisingPTH206withmaxsplitby @charliermarsh in https://github.com/astral-sh/ruff/pull/6283flake8]F841: Update autofix to not remove Jupyer magic expressions by @dhruvmanila in https://github.com/astral-sh/ruff/pull/6141pycodestyle]E721: Include comparisons to builtin types by @charliermarsh in https://github.com/astral-sh/ruff/pull/6325pycodestyle]E721: Match left-hand sidetypes()call intypes-comparisonby @charliermarsh in https://github.com/astral-sh/ruff/pull/6326pyupgrade]UP031: Avoid auto-fixing if there are comments within the right-hand side by @harupy in https://github.com/astral-sh/ruff/pull/6364pyupgrade]UP032: Avoid auto-fixing if comments are present around format call arguments by @harupy in https://github.com/astral-sh/ruff/pull/6342pyupgrade]UP032: Improve invalid expression check by @harupy in https://github.com/astral-sh/ruff/pull/6308.format(...)calls with too-few-arguments by @charliermarsh in https://github.com/astral-sh/ruff/pull/6401.gitignorefiles in parent directories were incorrectly used by @charliermarsh in https://github.com/astral-sh/ruff/pull/6368Unionexpressions by @charliermarsh in https://github.com/astral-sh/ruff/pull/6399Playground
Other Changes
New Contributors
Full Changelog: astral-sh/ruff@v0.0.282...v0.0.283
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.