chore(deps): update dependency ruff to ^0.0.292 #38
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.289
->^0.0.292
Release Notes
astral-sh/ruff (ruff)
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
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.