-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): update dependency ruff to v0.0.291 #24
Merged
Conversation
This file contains 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
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
2 times, most recently
from
June 20, 2023 20:46
ab1b45c
to
599d839
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to v0.0.272
chore(deps): update dependency ruff to v0.0.273
Jun 20, 2023
renovate
bot
changed the title
chore(deps): update dependency ruff to v0.0.273
chore(deps): update dependency ruff to v0.0.274
Jun 21, 2023
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
June 21, 2023 04:56
599d839
to
c92f696
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to v0.0.274
chore(deps): update dependency ruff to v0.0.275
Jun 22, 2023
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
June 22, 2023 19:27
c92f696
to
479c487
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to v0.0.275
chore(deps): update dependency ruff to v0.0.276
Jul 3, 2023
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
July 3, 2023 19:28
479c487
to
c43c151
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to v0.0.276
chore(deps): update dependency ruff to v0.0.277
Jul 5, 2023
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
July 5, 2023 01:40
c43c151
to
49eaa67
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to v0.0.277
chore(deps): update dependency ruff to v0.0.278
Jul 12, 2023
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
July 12, 2023 19:37
49eaa67
to
c9a7b22
Compare
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
July 21, 2023 21:15
c9a7b22
to
f72aa7f
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to v0.0.278
chore(deps): update dependency ruff to v0.0.279
Jul 21, 2023
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
July 22, 2023 04:57
f72aa7f
to
8ec27b9
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to v0.0.279
chore(deps): update dependency ruff to v0.0.280
Jul 22, 2023
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
July 22, 2023 08:31
8ec27b9
to
af3d8e5
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to v0.0.280
chore(deps): update dependency ruff to v0.0.281
Jul 31, 2023
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
2 times, most recently
from
August 1, 2023 14:54
9ddb787
to
31205b0
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to v0.0.281
chore(deps): update dependency ruff to v0.0.282
Aug 1, 2023
renovate
bot
changed the title
chore(deps): update dependency ruff to v0.0.282
chore(deps): update dependency ruff to v0.0.283
Aug 8, 2023
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
2 times, most recently
from
August 9, 2023 20:15
e9f1c6b
to
ee0622d
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to v0.0.283
chore(deps): update dependency ruff to v0.0.284
Aug 9, 2023
renovate
bot
changed the title
chore(deps): update dependency ruff to v0.0.284
chore(deps): update dependency ruff to v0.0.285
Aug 17, 2023
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
August 17, 2023 21:18
ee0622d
to
49559f9
Compare
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
August 25, 2023 19:57
49559f9
to
cf298ea
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to v0.0.285
chore(deps): update dependency ruff to v0.0.286
Aug 25, 2023
renovate
bot
changed the title
chore(deps): update dependency ruff to v0.0.286
chore(deps): update dependency ruff to v0.0.287
Sep 1, 2023
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
September 1, 2023 18:21
cf298ea
to
b0c7f0c
Compare
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
September 11, 2023 17:30
b0c7f0c
to
c3f048f
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to v0.0.287
chore(deps): update dependency ruff to v0.0.288
Sep 11, 2023
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
September 12, 2023 19:09
c3f048f
to
d2c96a0
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to v0.0.288
chore(deps): update dependency ruff to v0.0.289
Sep 12, 2023
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
September 15, 2023 22:43
d2c96a0
to
8f35204
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to v0.0.289
chore(deps): update dependency ruff to v0.0.290
Sep 15, 2023
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
September 22, 2023 18:21
8f35204
to
12a8a62
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to v0.0.290
chore(deps): update dependency ruff to v0.0.291
Sep 22, 2023
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.270
->^0.0.291
==0.0.270
->==0.0.291
Release Notes
astral-sh/ruff (ruff)
v0.0.291
Compare Source
v0.0.290
Compare Source
What's Changed
Rules
deprecated-import
lists based on recenttyping-extensions
release by @charliermarsh in https://github.com/astral-sh/ruff/pull/7356UP040
by @nathanwhit in https://github.com/astral-sh/ruff/pull/6749Settings
Bug Fixes
C416
to catch tuple unpacking by @charliermarsh in https://github.com/astral-sh/ruff/pull/7363NURSERY
rule selctor in JSON Schema by @charliermarsh in https://github.com/astral-sh/ruff/pull/7374D411
by @charliermarsh in https://github.com/astral-sh/ruff/pull/7351Preview
What's this section?
flake8-logging
] New ruleundocumented-warn
(LOG009
) by @qdegraaf in https://github.com/astral-sh/ruff/pull/7249flake8-logging
] New ruledirect-logger-instantiation
(LOG001
) by @charliermarsh in https://github.com/astral-sh/ruff/pull/7397flake8-logging
] New pluginflake8_logging
(LOG
) by @qdegraaf in https://github.com/astral-sh/ruff/pull/7249perflint
] Addmanual-dict-comprehsion
(PERF403
) by @qdegraaf in https://github.com/astral-sh/ruff/pull/6132pylint
] New ruletoo-many-public-methods
(PLR0904
) by @jelly in https://github.com/astral-sh/ruff/pull/6179refurb
] New ruleno-slice-copy
(FURB145
) by @tjkuson in https://github.com/astral-sh/ruff/pull/7007PREVIEW
rule selector by @zanieb in https://github.com/astral-sh/ruff/pull/7389pre-commit
support for the alpha formatter by @zanieb in https://github.com/astral-sh/ruff-pre-commit/pull/50New Contributors
Full Changelog: astral-sh/ruff@v0.0.289...v0.0.290
v0.0.289
Compare Source
What's Changed
Bug Fixes
@override
method when enforcingbad-dunder-name
rule by @brendonh8 in https://github.com/astral-sh/ruff/pull/7224NotebookIndex
to the cache by @dhruvmanila in https://github.com/astral-sh/ruff/pull/6863Preview
This release includes a new preview mode which can be used to opt-in to unstable rules and features.
--preview
option in the CLI help menu by @zanieb in https://github.com/astral-sh/ruff/pull/7274See the documentation and versioning discussion for more details.
New Contributors
Full Changelog: astral-sh/ruff@v0.0.288...v0.0.289
v0.0.288
Compare Source
What's Changed
Breaking Changes
Rules
ruff
]RUF001
: Remove autofix for ambiguous unicode rule by @charliermarsh in https://github.com/astral-sh/ruff/pull/7168Settings
flake8-self
]SLF001
: Addextend-ignore-names
option by @jaap3 in https://github.com/astral-sh/ruff/pull/7194Bug Fixes
flake8-bugbear
]B006
: Add newline if fix is at end-of-file by @charliermarsh in https://github.com/astral-sh/ruff/pull/7090B006
: Fix function docstring followed by whitespace but no newline by @zanieb in https://github.com/astral-sh/ruff/pull/7160B009
: Parenthesize expressions when converting to attribute access by @charliermarsh in https://github.com/astral-sh/ruff/pull/7091B009
,B010
: Fixgetattr
calls onint
literals by @density in https://github.com/astral-sh/ruff/pull/7057B013
: Supported starred exceptions in length-one tuple detection by @charliermarsh in https://github.com/astral-sh/ruff/pull/7080B013
: Insert required space when fixing by @charliermarsh in https://github.com/astral-sh/ruff/pull/7148flake8-comprehensions
]C402
: Add required space when fixing by @charliermarsh in https://github.com/astral-sh/ruff/pull/7152C404
Add required space when fixing by @charliermarsh in https://github.com/astral-sh/ruff/pull/7185C416
Add required space to fix by @charliermarsh in https://github.com/astral-sh/ruff/pull/7204C417
: Support length-2 lists in dictionary comprehension rewrites by @charliermarsh in https://github.com/astral-sh/ruff/pull/7081C417
: Parenthesize targets if necessary by @charliermarsh in https://github.com/astral-sh/ruff/pull/7189flake8-return
]RET504
: Add space after return when inlining number by @charliermarsh in https://github.com/astral-sh/ruff/pull/7116flake8-simplify
]SIM105
: Avoid attempting to fix violations with multi-statement lines by @charliermarsh in https://github.com/astral-sh/ruff/pull/7191SIM105
Avoid inserting an extra newline for fixes by @charliermarsh in https://github.com/astral-sh/ruff/pull/7221SIM118
: Add required space when fixing by @charliermarsh in https://github.com/astral-sh/ruff/pull/7150SIM118
: delete.keys()
rather than replace expression by @charliermarsh in https://github.com/astral-sh/ruff/pull/7223SIM210
: Retain parentheses when fixing by @charliermarsh in https://github.com/astral-sh/ruff/pull/7118SIM222
: Add parentheses when simplifying conditions by @charliermarsh in https://github.com/astral-sh/ruff/pull/7117SIM300
: Add required space when fixing by @charliermarsh in https://github.com/astral-sh/ruff/pull/7167flake8-pytest-style
]PT018
: Split withinnot
, rather than outside ofnot
by @charliermarsh in https://github.com/astral-sh/ruff/pull/7151flynt
]FLY002
: Add required space for fixes by @charliermarsh in https://github.com/astral-sh/ruff/pull/7222numpy
]NPY001
: Avoid attempting to fix with overridden builtins by @charliermarsh in https://github.com/astral-sh/ruff/pull/7187NPY003
: Use symbol import for replacement by @charliermarsh in https://github.com/astral-sh/ruff/pull/7083pandas-vet
]PD002
: Handle parenthesized calls by @charliermarsh in https://github.com/astral-sh/ruff/pull/7111pep8-naming
]N806
: Avoid triggering onTypeAlias
assignments by @charliermarsh in https://github.com/astral-sh/ruff/pull/7119pydocstyle
]D204
: Fix when there's a semicolon after a docstring by @konstin in https://github.com/astral-sh/ruff/pull/7174D213
,D400
: Ignore single quote docstrings with newline escape by @konstin in https://github.com/astral-sh/ruff/pull/7173D417
: Fix error with function docstrings with dashed lines by @eronnen in https://github.com/astral-sh/ruff/pull/7251pyflakes
]F401
: Avoid panic with noqa import name by @charliermarsh in https://github.com/astral-sh/ruff/pull/7260F841
: Expand fixes to handle parenthesized targets by @charliermarsh in https://github.com/astral-sh/ruff/pull/7110pylint
]PLW3301
: Copy the starred argument as is for autofix by @dhruvmanila in https://github.com/astral-sh/ruff/pull/7177pyupgrade
]UP006
andUP007
: Add required space to fixes by @charliermarsh in https://github.com/astral-sh/ruff/pull/7202UP007
: Avoid attempting to fix invalidOptional
annotations by @charliermarsh in https://github.com/astral-sh/ruff/pull/7079UP007
: Fix syntax error in autofix by @charliermarsh in https://github.com/astral-sh/ruff/pull/7137UP021
: Avoid adding duplicatetext
keyword tosubprocess.run
by @charliermarsh in https://github.com/astral-sh/ruff/pull/7112UP022
: Avoid adding duplicatecapture_output
keyword tosubprocess.run
by @charliermarsh in https://github.com/astral-sh/ruff/pull/7113UP028
: Support parenthesized expressions by @charliermarsh in https://github.com/astral-sh/ruff/pull/7114UP022
: Avoid fixing whencapture_output
is provided by @charliermarsh in https://github.com/astral-sh/ruff/pull/7149UP024
: Add required space when fixing by @charliermarsh in https://github.com/astral-sh/ruff/pull/7171ruff
]RUF017
: Avoid duplicate fixes for multi-import imports by @charliermarsh in https://github.com/astral-sh/ruff/pull/7063Other Changes
New Contributors
Full Changelog: astral-sh/ruff@v0.0.287...v0.0.288
v0.0.287
Compare Source
What's Changed
Rules
repeated-append
rule (FURB113
) by @SavchenkoValeriy in https://github.com/astral-sh/ruff/pull/6702delete-full-slice
rule (FURB131
) by @SavchenkoValeriy in https://github.com/astral-sh/ruff/pull/6897check-and-remove-from-set
rule (FURB132
) by @SavchenkoValeriy in https://github.com/astral-sh/ruff/pull/6904Bug Fixes
PERF401
andPERF402
with type checks by @qdegraaf in https://github.com/astral-sh/ruff/pull/6994typename
is provided as a keyword argument by @charliermarsh in https://github.com/astral-sh/ruff/pull/6955missing_copyright_notice
by @WindowGenerator in https://github.com/astral-sh/ruff/pull/7029WithItem
ranges for parenthesized, non-as
items by @charliermarsh in https://github.com/astral-sh/ruff/pull/6782New Contributors
Full Changelog: astral-sh/ruff@v0.0.286...v0.0.287
v0.0.286
Compare Source
What's Changed
New Rules
flake8-bugbear
] Updatefunction-call-in-argument-default
(B008
) to ignore arguments with immutable annotations by @zanieb in https://github.com/astral-sh/ruff/pull/6784flake8-bugbear
] Updatemutable-argument-default
(B006
) to useextend-immutable-calls
when determining if annotations are immutable by @zanieb in https://github.com/astral-sh/ruff/pull/6781flake8-pie
] Implementunnecessary-range-start
(PIE808
) by @harupy in https://github.com/astral-sh/ruff/pull/6690flake8-pytest-style
] Add autofix forPT014
by @harupy in https://github.com/astral-sh/ruff/pull/6698pylint
] Implementno-self-use
(R6301
) by @LaBatata101 in https://github.com/astral-sh/ruff/pull/6574pylint
] Extendrepeated-equality-comparison-target
to check for mixed orderings and Yoda conditions. by @tjkuson in https://github.com/astral-sh/ruff/pull/6691Settings
detect-same-package
behavior configurable by @charliermarsh in https://github.com/astral-sh/ruff/pull/6833Bug Fixes
typing_extensions.TypeAlias
for PYI026 fixes on pre-3.10 by @charliermarsh in https://github.com/astral-sh/ruff/pull/6696repeated-equality-comparison-target
by @charliermarsh in https://github.com/astral-sh/ruff/pull/6705ctypes.WinError()
in flake8-raise by @charliermarsh in https://github.com/astral-sh/ruff/pull/6731eq-without-hash
when__hash__
is explicitly set toNone
by @LaBatata101 in https://github.com/astral-sh/ruff/pull/6739native-literals
handling of int literal with attribute access by @zanieb in https://github.com/astral-sh/ruff/pull/6792uncessary-coding-comment
fix when there's leading content by @zanieb in https://github.com/astral-sh/ruff/pull/6775C417
forlambda
with default and variadic parameters by @dhruvmanila in https://github.com/astral-sh/ruff/pull/6752networkx
to conventional aliases by @zanieb in https://github.com/astral-sh/ruff/pull/6778Full Changelog: astral-sh/ruff@v0.0.285...v0.0.286
v0.0.285
Compare Source
What's Changed
New rules
flake8-pytest-style
] Implementpytest-unittest-raises-assertion
(PT027
) by @harupy in https://github.com/astral-sh/ruff/pull/6554flake8-pytest-style
] Implementpytest-duplicate-parametrize-test-cases
(PT014
) by @harupy in https://github.com/astral-sh/ruff/pull/6598flake8-tidy-imports
] Implementbanned-module-level-imports
(TID253
) by @durumu in https://github.com/astral-sh/ruff/pull/6378pylint
] Implementbad-dunder-name
(W3201
) (in the Ruff nursery) by @LaBatata101 in https://github.com/astral-sh/ruff/pull/6486pylint
] Implementsubprocess-run-check
(W1510
) by @tjkuson in https://github.com/astral-sh/ruff/pull/6487ruff
] Implementquadratic-list-summation
(RUF017
) by @evanrittenhouse in https://github.com/astral-sh/ruff/pull/6489Rule changes
flake8-bugbear
] Add autofix forB006
by @qdegraaf in https://github.com/astral-sh/ruff/pull/6131flake8-pyi
] Avoid applyingPYI055
to runtime-evaluated annotations by @charliermarsh in https://github.com/astral-sh/ruff/pull/6457flake8-self
] Allowos._exit
accesses inSLF001
by @charliermarsh in https://github.com/astral-sh/ruff/pull/6490perflint
] IgnorePERF203
iftry
contains loop control flow statements by @evanrittenhouse in https://github.com/astral-sh/ruff/pull/6536pylint
] Check for invalid format type specifiers in nested replacements forPLE1300
by @zanieb in https://github.com/astral-sh/ruff/pull/6616tryceratops
] OmitNotImplementedError
fromTRY003
by @charliermarsh in https://github.com/astral-sh/ruff/pull/6568Settings
.ipynb
and.pyi
sources when linting from stdin by @charliermarsh in https://github.com/astral-sh/ruff/pull/6628raises_require_match_for
andraises_require_match_for
by @harupy in https://github.com/astral-sh/ruff/pull/6635Bug Fixes
lambda-assignment
fix always-manual in class bodies by @charliermarsh in https://github.com/astral-sh/ruff/pull/6626E721
by @charliermarsh in https://github.com/astral-sh/ruff/pull/6469E402
by @charliermarsh in https://github.com/astral-sh/ruff/pull/6526invalid-envvar-value
by @charliermarsh in https://github.com/astral-sh/ruff/pull/6538locals()
by @charliermarsh in https://github.com/astral-sh/ruff/pull/6578await
in Jupyter notebooks by @charliermarsh in https://github.com/astral-sh/ruff/pull/6607pandas#values
for stores, deletes, or class accesses by @charliermarsh in https://github.com/astral-sh/ruff/pull/6631E712
fix by @charliermarsh in https://github.com/astral-sh/ruff/pull/6575I002
by @durumu in https://github.com/astral-sh/ruff/pull/6523PLE1300
by @zanieb in https://github.com/astral-sh/ruff/pull/6616Playground
Performance
New Contributors
Full Changelog: astral-sh/ruff@v0.0.284...v0.0.285
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
v0.0.281
Compare Source
What's Changed
See the release blog post for more, including detailed descriptions of any newly added rules.
New rules
flake8-pyi
] ImplementPYI018
by @LaBatata101 in https://github.com/astral-sh/ruff/pull/6018flake8-pyi
] ImplementPYI047
by @LaBatata101 in https://github.com/astral-sh/ruff/pull/6134flake8-pyi
] ImplementPYI049
by @LaBatata101 in https://github.com/astral-sh/ruff/pull/6136flake8-pyi
] ImplementPYI056
by @LaBatata101 in https://github.com/astral-sh/ruff/pull/5959flake8-pyi
] ImplementPYI046
by @LaBatata101 in https://github.com/astral-sh/ruff/pull/6098flake8-use-pathlib
] Implementglob
(PTH207
) by @sbrugman in https://github.com/astral-sh/ruff/pull/5939flake8-use-pathlib
] Implementos-sep-split
(PTH206
) by @sbrugman in https://github.com/astral-sh/ruff/pull/5936pycodestyle
] ImplementE241
andE242
(tab/multiple ws after commas) by @akx in https://github.com/astral-sh/ruff/pull/6094pylint
] Implementself-assigning-variable
(W0127
) by @tjkuson in https://github.com/astral-sh/ruff/pull/6015pylint
] Implementeq-without-hash
rule (PLW1641) by @jelly in https://github.com/astral-sh/ruff/pull/5955pylint
] Implementsubprocess-popen-preexec-fn
(W1509
) by @tjkuson in https://github.com/astral-sh/ruff/pull/5978Rule changes
flake8-bugbear
] ExtendsB002
to detect unary prefix decrement operators by @tjkuson in https://github.com/astral-sh/ruff/pull/5998flake8-pytest-style
] Avoid raising PT012 for simplewith
statements by @harupy in https://github.com/astral-sh/ruff/pull/6081flake8-pytest-style
] Allow pytest.raises body to contain a single func or class definition by @harupy in [https://giConfiguration
📅 Schedule: Branch creation - "every weekend" in timezone Africa/Lusaka, 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 these updates again.
This PR has been generated by Mend Renovate. View repository job log here.