[pylint] Update missing-maxsplit-arg docs and error to suggest proper usage (PLC0207) by junhsonjb · Pull Request #18949 · astral-sh/ruff (original) (raw)
junhsonjb changed the title
Update Update missing-maxsplit-arg docs and error to explain rsplit usagemissing-maxsplit-arg docs and error to suggest proper split/rsplit usage along with maxsplit=1
junhsonjb changed the title
Update Update missing-maxsplit-arg docs and error to suggest proper split/rsplit usage along with maxsplit=1missing-maxsplit-arg docs and error to suggest proper usage
ntBre changed the title
Update [missing-maxsplit-arg docs and error to suggest proper usagepylint] Update missing-maxsplit-arg docs and error to suggest proper usage (PLC0207)
UnboundVariable pushed a commit to UnboundVariable/ruff that referenced this pull request
…re_help
- 'main' of https://github.com/astral-sh/ruff: (34 commits)
[docs] add capital one to who's using ruff (astral-sh#19248)
[
pyupgrade] Keyword arguments insupershould suppress theUP008fix (astral-sh#19131) [flake8-use-pathlib] Add autofixes forPTH100,PTH106,PTH107,PTH108,PTH110,PTH111,PTH112,PTH113,PTH114,PTH115,PTH117,PTH119,PTH120(astral-sh#19213) [ty] Do not runmypy_primer.yamlwhen all changed files are Markdown files (astral-sh#19244) [flake8-bandit] Make example error out-of-the-box (S412) (astral-sh#19241) [pydoclint] Make example error out-of-the-box (DOC501) (astral-sh#19218) [ty] Add "kind" to completion suggestions [ty] Add type information toall_membersAPI [ty] Expand API ofall_membersto return a struct [ty] Ecosystem analyzer PR comment workflow (astral-sh#19237) [ty] Mergety_macrosintoruff_macros(astral-sh#19229) [ty] FixClassLiteral.into_callablefor dataclasses (astral-sh#19192) [ty]dataclasses.fieldsupport (astral-sh#19140) [ty] Fix panic for attribute expressions with empty value (astral-sh#19069) [ty] ReturnCallableTypefromBoundMethodType.into_callable_type(astral-sh#19193) [flake8-bugbear] Support non-context-manager calls inB017(astral-sh#19063) [ty] Improved diagnostic for reassignments ofFinalsymbols (astral-sh#19214) [ty] Use full range for assignment definitions (astral-sh#19211) [pylint] Updatemissing-maxsplit-argdocs and error to suggest proper usage (PLC0207) (astral-sh#18949) [ty] Addset -euto mypy-primer script (astral-sh#19212) ...
Conflicts:
crates/ty_python_semantic/src/types/class.rs
ntBre pushed a commit that referenced this pull request
Summary
As a follow-up to #18949 (suggested
[here](#18949 (review))),
this PR implements auto-fix logic for PLC0207.
Test Plan
Existing tests pass, with updates to the snapshot so that it expects the new output that comes along with the auto-fix.
KotlinIsland pushed a commit to KotlinIsland/basedpython that referenced this pull request
…(#19387)
Summary
As a follow-up to #18949 (suggested
[here](astral-sh/ruff#18949 (review))),
this PR implements auto-fix logic for PLC0207.
Test Plan
Existing tests pass, with updates to the snapshot so that it expects the new output that comes along with the auto-fix.
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 }})