[flake8-return] Fix RET504 autofix generating a syntax error by LaBatata101 · Pull Request #18428 · astral-sh/ruff (original) (raw)
MichaReiser added bug
Something isn't working
Related to suggested fixes for violations
labels
dcreager added a commit that referenced this pull request
- main:
[ty] Add some "inside string" tests for
object.<CURSOR>completions [ty] Pull types on synthesized Python files created by mdtest (#18539) Update Rust crate anstyle to v1.0.11 (#18583) [pyupgrade] Fixsuper(__class__, self)detection in UP008 (super-call-with-parameters) (#18478) [ty] Generate the top and bottom materialization of a type (#18594)SourceOrderVisitorshould visit theIdentifierpart of thePatternKeywordnode (#18635) Update salsa (#18636) [ty] Update mypy_primer doc (#18638) [ty] Improve support forobject.<CURSOR>completions [ty] AddCoveringNode::find_last[ty] Refactor covering node representation [ty] Infer the Python version from--python=<system installation>on Unix (#18550) [flake8-return] FixRET504autofix generating a syntax error (#18428) Fix incorrect salsareturn_refattribute (#18605) Move corpus tests toty_python_semantic(#18609) [pyupgrade] Don't offer fix forOptional[None]in non-pep604-annotation-optional (UP045)or non-pep604-annotation-union (UP007) (#18545) [pep8-naming] Suppress fix forN804andN805if the recommend name is already used (#18472) [ruff] skip fix forRUF059if dummy name is already bound (unused-unpacked-variable) (#18509)
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
[ Show hidden characters]({{ revealButtonHref }})