[pylint] Update missing-maxsplit-arg docs and error to suggest proper usage (PLC0207) by junhsonjb · Pull Request #18949 · astral-sh/ruff (original) (raw)

@junhsonjb

@ntBre self-requested a review

June 26, 2025 01:56

@junhsonjb

MeGaGiGaGon

@junhsonjb

@junhsonjb

@junhsonjb junhsonjb changed the titleUpdate missing-maxsplit-arg docs and error to explain rsplit usage Update missing-maxsplit-arg docs and error to suggest proper split/rsplit usage along with maxsplit=1

Jul 2, 2025

@junhsonjb junhsonjb changed the titleUpdate missing-maxsplit-arg docs and error to suggest proper split/rsplit usage along with maxsplit=1 Update missing-maxsplit-arg docs and error to suggest proper usage

Jul 2, 2025

@ntBre ntBre changed the titleUpdate missing-maxsplit-arg docs and error to suggest proper usage [pylint] Update missing-maxsplit-arg docs and error to suggest proper usage (PLC0207)

Jul 8, 2025

UnboundVariable pushed a commit to UnboundVariable/ruff that referenced this pull request

Jul 10, 2025

…re_help

Conflicts:

crates/ty_python_semantic/src/types/class.rs

ntBre pushed a commit that referenced this pull request

Jul 28, 2025

@junhsonjb

…19387)

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

May 1, 2026

@junhsonjb

…(#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 }})