⬆️ Update dependency ruff to ^0.0.284 #133
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.281
->^0.0.284
Release Notes
astral-sh/ruff (ruff)
v0.0.284
Compare Source
What's Changed
This release fixes a few bugs, notably the previous release announced a breaking change where the default target
Python version changed from 3.10 to 3.8 but the change was not applied. Thanks to @rco-ableton for fixing this in
https://github.com/astral-sh/ruff/pull/6444
Bug Fixes
S108
if path is insidetempfile.*
call by @dhruvmanila in https://github.com/astral-sh/ruff/pull/6416New Contributors
Full Changelog: astral-sh/ruff@v0.0.283...v0.0.284
v0.0.283
Compare Source
What's Changed
Breaking Changes
Rules
flake8-pyi
]PYI019
: Detects if a type variable is used instead ofSelf
in return annotations by @qdegraaf in https://github.com/astral-sh/ruff/pull/6204flake8-pyi
]PYI051
: Detects unions ofLiteral
types by @LaBatata101 in https://github.com/astral-sh/ruff/pull/6215flake8-pyi
]PYI055
: Detects unions oftype
s 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_not
to 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-body
PYI016
:duplicate-union-member
PYI018
:unused-private-type-var
PYI019
:custom-type-var-return-type
PYI024
:collections-named-tuple
PYI025
:unaliased-collections-abc-set-import
PYI030
:unnecessary-literal-union
PYI032
:any-eq-ne-annotation
PYI034
:non-self-return-type
PYI036
:bad-exit-annotation
PYI041
:redundant-numeric-union
PYI042
:snake-case-type-alias
PYI043
:t-suffixed-type-alias
PYI045
:iter-method-return-iterable
PYI046
:unused-private-protocol
PYI047
:unused-private-type-alias
PYI049
:unused-private-typed-dict
PYI050
:no-return-argument-annotation-in-stub
(Python ≥ 3.11)PYI051
:redundant-literal-union
PYI056
:unsupported-method-call-on-all
flake8-pyi
]PYI027
is being replaced byPYI022
/UP035
by @LaBatata101 in https://github.com/astral-sh/ruff/pull/6354pydocstyle
]D103
: Don't require docstrings in.pyi
files 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 forawait
expressions 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
: PermitClassVar
andFinal
without subscript by @bluetech in https://github.com/astral-sh/ruff/pull/6273Bug Fixes
flake8-bugbear
]B006
: Respecttyping_extensions
imports ofAnnotated
by @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 raisingPTH206
withmaxsplit
by @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-comparison
by @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.gitignore
files in parent directories were incorrectly used by @charliermarsh in https://github.com/astral-sh/ruff/pull/6368Union
expressions 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
v0.0.282
Compare Source
What's Changed
Bug Fixes
quoted-annotation
rule (#5766)" by @charliermarsh in https://github.com/astral-sh/ruff/pull/6237New Contributors
Full Changelog: astral-sh/ruff@v0.0.281...v0.0.282
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.