-
Notifications
You must be signed in to change notification settings - Fork 0
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 ^0.1.0 #15
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/ruff-0.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
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
from
November 20, 2022 23:56
dfe3a4e
to
05c2dd8
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to ^0.0.129
chore(deps): update dependency ruff to ^0.0.132
Nov 20, 2022
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
November 21, 2022 19:59
05c2dd8
to
5b9b025
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to ^0.0.132
chore(deps): update dependency ruff to ^0.0.133
Nov 21, 2022
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
November 23, 2022 01:38
5b9b025
to
f36e14c
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to ^0.0.133
chore(deps): update dependency ruff to ^0.0.135
Nov 23, 2022
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
November 24, 2022 04:47
f36e14c
to
ad362ab
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to ^0.0.135
chore(deps): update dependency ruff to ^0.0.137
Nov 24, 2022
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
November 25, 2022 06:53
ad362ab
to
e24d95f
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to ^0.0.137
chore(deps): update dependency ruff to ^0.0.138
Nov 25, 2022
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
November 26, 2022 01:57
e24d95f
to
ea37ce3
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to ^0.0.138
chore(deps): update dependency ruff to ^0.0.139
Nov 26, 2022
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
November 26, 2022 20:42
ea37ce3
to
b191594
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to ^0.0.139
chore(deps): update dependency ruff to ^0.0.140
Nov 26, 2022
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
November 26, 2022 23:20
b191594
to
cf2e554
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to ^0.0.140
chore(deps): update dependency ruff to ^0.0.141
Nov 26, 2022
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
November 28, 2022 06:46
cf2e554
to
ba2bfb2
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to ^0.0.141
chore(deps): update dependency ruff to ^0.0.142
Nov 28, 2022
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
November 28, 2022 23:06
ba2bfb2
to
47a7c16
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to ^0.0.142
chore(deps): update dependency ruff to ^0.0.143
Nov 28, 2022
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
November 29, 2022 04:58
47a7c16
to
1472099
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to ^0.0.143
chore(deps): update dependency ruff to ^0.0.146
Nov 29, 2022
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
November 30, 2022 06:46
1472099
to
fbeed43
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to ^0.0.146
chore(deps): update dependency ruff to ^0.0.149
Nov 30, 2022
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
December 1, 2022 23:09
fbeed43
to
b10650a
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to ^0.0.149
chore(deps): update dependency ruff to ^0.0.150
Dec 1, 2022
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
December 2, 2022 04:49
b10650a
to
7323467
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to ^0.0.150
chore(deps): update dependency ruff to ^0.0.151
Dec 2, 2022
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
December 2, 2022 19:24
7323467
to
916ae86
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to ^0.0.151
chore(deps): update dependency ruff to ^0.0.152
Dec 2, 2022
renovate
bot
changed the title
chore(deps): update dependency ruff to ^0.0.277
chore(deps): update dependency ruff to ^0.0.278
Jul 13, 2023
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
July 22, 2023 05:43
b8606e5
to
f9875c0
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to ^0.0.278
chore(deps): update dependency ruff to ^0.0.280
Jul 22, 2023
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
August 1, 2023 00:17
f9875c0
to
efb0053
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to ^0.0.280
chore(deps): update dependency ruff to ^0.0.281
Aug 1, 2023
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
August 1, 2023 20:32
efb0053
to
4cde3ef
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to ^0.0.281
chore(deps): update dependency ruff to ^0.0.282
Aug 1, 2023
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
August 9, 2023 08:52
4cde3ef
to
55a8713
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to ^0.0.282
chore(deps): update dependency ruff to ^0.0.283
Aug 9, 2023
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
August 10, 2023 05:52
55a8713
to
920da71
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to ^0.0.283
chore(deps): update dependency ruff to ^0.0.284
Aug 10, 2023
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
August 18, 2023 08:56
920da71
to
cc6da7a
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to ^0.0.284
chore(deps): update dependency ruff to ^0.0.285
Aug 18, 2023
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
August 26, 2023 20:58
cc6da7a
to
71ffde8
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to ^0.0.285
chore(deps): update dependency ruff to ^0.0.286
Aug 26, 2023
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
September 2, 2023 08:33
71ffde8
to
1e6361c
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to ^0.0.286
chore(deps): update dependency ruff to ^0.0.287
Sep 2, 2023
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
September 11, 2023 17:56
1e6361c
to
49041a5
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to ^0.0.287
chore(deps): update dependency ruff to ^0.0.288
Sep 11, 2023
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
September 13, 2023 05:30
49041a5
to
508f527
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to ^0.0.288
chore(deps): update dependency ruff to ^0.0.289
Sep 13, 2023
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
September 16, 2023 06:01
508f527
to
a007ad3
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to ^0.0.289
chore(deps): update dependency ruff to ^0.0.290
Sep 16, 2023
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
September 23, 2023 08:23
a007ad3
to
2e71f49
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to ^0.0.290
chore(deps): update dependency ruff to ^0.0.291
Sep 23, 2023
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
October 3, 2023 11:32
2e71f49
to
0dc7858
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to ^0.0.291
chore(deps): update dependency ruff to ^0.0.292
Oct 3, 2023
renovate
bot
force-pushed
the
renovate/ruff-0.x
branch
from
October 17, 2023 02:35
0dc7858
to
2eae515
Compare
renovate
bot
changed the title
chore(deps): update dependency ruff to ^0.0.292
chore(deps): update dependency ruff to ^0.1.0
Oct 17, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
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.97
->^0.1.0
Release Notes
astral-sh/ruff (ruff)
v0.1.0
Compare Source
Breaking changes
format
setting has been removed (#7984)format
setting cannot be used to configure the output format, useoutput-format
insteadRUFF_FORMAT
environment variable is ignored, useRUFF_OUTPUT_FORMAT
instead--format
option has been removed fromruff check
, use--output-format
insteadRule changes
reimplemented-starmap
(FURB140
) to catch calls with a single and starred argument (#7768)RUF015
(#7848)SIM15
to allowopen
followed byclose
(#7916)msgspec.Struct
default-copy semantics inRUF012
(#7786)sqlalchemy
methods to `flake8-boolean-trap`` exclusion list (#7874)PLR1714
(#7910)PIE804
(#7884)PLC0208
(#7887)PYI055
(#7886)non-pep695-type-alias
to require--unsafe-fixes
outside of stub files (#7836)UP018
(#7913)PLW3201
to supportEnum
sunder names (#7987)Preview features
unnecessary-key-check
to simplifykey in dct and dct[key]
todct.get(key)
(#7895)assignment-in-assert
to prevent walrus expressions in assert statements (#7856)refurb
] Addsingle-item-membership-test
(FURB171
) (#7815)pylint
] Addand-or-ternary
(R1706
) (#7811)New rules are added in preview.
Configuration
unsafe-fixes
setting (#7769)extend-safe-fixes
andextend-unsafe-fixes
for promoting and demoting fixes (#7841)CLI
--unsafe-fixes
option for opt-in to display and apply unsafe fixes (#7769)--format
option in warning (#7837)--check
(#7788)check --diff
to include unsafe fix hints (#7790)cell
field to JSON output format (#7664)Safe
,Unsafe
, andDisplay
(#7843)Bug fixes
SIM110
with a yield in the condition (#7801)C414
fixes (#7775)unnecessary-enumerate
len
suggestion (#7781)SIM101
(#7798)E251
false positive inside f-strings (#7894)stdin
(#7789)ruff rule
(#7812)--unfixable
inISC
rules (#7917)PIE804
(#7922)PTH118
forPath.joinpath
with starred arguments (#7852)outdated-version-block
when using greater than comparisons (#7920)gettext
calls (#7898)PLR6301
(#7933)TCH004
(#7968)cache-dir
relative to project root (#7962)TCH003
(#7954)line-length
(#7883)coalesce
keyword (#7876)Documentation
reimplemented-starmap
performance effects (#7846)PLR6301
(#7831)UP038
docs to note that it results in slower code (#7872)unnecessary-subscript-reversal
(#7774)FURB177
example (#7832)Formatter
ruff format
message (#7867)ruff_python_formatter
generate.py comment (#7850)Playground
Quick Fix
action (#7824)v0.0.292
Compare Source
What's Changed
Highlights
This release includes full support for Python 3.12 (out now!), including the new type parameter (PEP 695) and f-string syntaxes (PEP 701).
PEP 701 lifts many of the restrictions on f-strings that existed in the past, allowing for arbitrarily nested f-strings, consistent quote style within f-strings, and more, all of which are now supported by Ruff (thanks to @dhruvmanila in https://github.com/astral-sh/ruff/pull/7376).
Breaking Changes
format.quote-style
no longer affects triple-quoted strings, to align with common conventions as well as the guidance from PEP 8 and PEP 257 (see: https://github.com/astral-sh/ruff/pull/7680).line-too-long
(E501
) now ignores trailing pragma comments (like# type: ignore
and# noqa
) when computing line length (see: https://github.com/astral-sh/ruff/pull/7692). This is similar to flake8-bugbear's methodology for detecting overlong lines, and ensures that adding pragmas like# noqa
does not introduce further lint errors.Rules
refurb
] Implementprint-empty-string
(FURB105
) by @tjkuson in https://github.com/astral-sh/ruff/pull/7617flake8-bandit
] Implementweak-cryptographic-key
(S505
) by @mkniewallner in https://github.com/astral-sh/ruff/pull/7703refurb
] Implementimplicit-cwd
(FURB177
) by @danparizher in https://github.com/astral-sh/ruff/pull/7704unnecessary-pass
(PIE790
) now flags all unnecessarypass
statements; previously, the rule only flaggedpass
statements that followed a docstring in a two-statement body (see: https://github.com/astral-sh/ruff/pull/7697).Settings
lint
section to Ruff configuration by @MichaReiser in https://github.com/astral-sh/ruff/pull/7549explicit-preview-rules
to toggle explicit selection of preview rules by @zanieb in https://github.com/astral-sh/ruff/pull/7390stdout
by @charliermarsh in https://github.com/astral-sh/ruff/pull/7748unnecessary-pass
(PIE790
) to trigger on all unnecessarypass
statements by @tjkuson in https://github.com/astral-sh/ruff/pull/7697Bug Fixes
PT022
autofix by @dhruvmanila in https://github.com/astral-sh/ruff/pull/7613builtin.open()
withPath.open()
if the latter doesn't support all options by @konstin in https://github.com/astral-sh/ruff/pull/7637Expr::Name
checks to rules which useis_logger_candidate
by @qdegraaf in https://github.com/astral-sh/ruff/pull/7521__all__
assignments by @charliermarsh in https://github.com/astral-sh/ruff/pull/7673commented-out-code
by @tjkuson in https://github.com/astral-sh/ruff/pull/7523unnecessary-pass
by @charliermarsh in https://github.com/astral-sh/ruff/pull/7715quadratic-list-summation
by @charliermarsh in https://github.com/astral-sh/ruff/pull/7719NotebookIndex
forDiagnostics
on stdin by @dhruvmanila in https://github.com/astral-sh/ruff/pull/7663LexError
for dedent to incorrect level by @MichaReiser in https://github.com/astral-sh/ruff/pull/7638DeprecatedLogWarn
to check forExpr::Atrribute
calls by @qdegraaf in https://github.com/astral-sh/ruff/pull/7677Other Changes
commented-out-code
(~50-80%) by @charliermarsh in https://github.com/astral-sh/ruff/pull/7706New Contributors
Full Changelog: astral-sh/ruff@v0.0.291...v0.0.292
v0.0.291
Compare Source
What's Changed
Deprecations
The
format
command-line argument and configuration option has been renamed tooutput-format
. While Ruff will continue to respectformat
when passed as a command-line argument or configuration option, this backwards-compatible support will be dropped in a future release. See: https://github.com/astral-sh/ruff/pull/7514.Rules
flake8-bandit
] ImplementS201
:flask-debug-true
by @mkniewallner in https://github.com/astral-sh/ruff/pull/7503flake8-bandit
] ImplementS507
:ssh_no_host_key_verification
by @mkniewallner in https://github.com/astral-sh/ruff/pull/7528flake8-logging
] ImplementLOG002
:invalid-get-logger-argument
by @dhruvmanila in https://github.com/astral-sh/ruff/pull/7399flake8-logging
] ImplementLOG007
:exception-without-exc-info
by @qdegraaf in https://github.com/astral-sh/ruff/pull/7410refurb
] ImplementFURB140
:reimplemented-starmap
by @SavchenkoValeriy in https://github.com/astral-sh/ruff/pull/7253refurb
] ImplementFURB148
:unnecessary-enumerate
by @tjkuson in https://github.com/astral-sh/ruff/pull/7454ruff
] Detectasyncio.get_running_loop
calls in RUF006 by @charliermarsh in https://github.com/astral-sh/ruff/pull/7562Settings
--no-X
variants in CLI help by @charliermarsh in https://github.com/astral-sh/ruff/pull/7504format
option tooutput-format
by @MichaReiser in https://github.com/astral-sh/ruff/pull/7514ruff rule
by @charliermarsh in https://github.com/astral-sh/ruff/pull/7560Bug Fixes
bad-dunder-method-name
to permitattrs
dunders by @tjkuson in https://github.com/astral-sh/ruff/pull/7472.exception()
calls by @charliermarsh in https://github.com/astral-sh/ruff/pull/7524PERF102
fixes by @charliermarsh in https://github.com/astral-sh/ruff/pull/7554os.error
as anOSError
alias by @charliermarsh in https://github.com/astral-sh/ruff/pull/7582bad-dunder-method-name
to permit__html__
by @jaap3 in https://github.com/astral-sh/ruff/pull/7492New Contributors
Full Changelog: astral-sh/ruff@v0.0.290...v0.0.291
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
] Implement `pytest-dupliConfiguration
📅 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.