Skip to content

[ruff] Fix false positive for re.split with empty string pattern (RUF055) - #23634

Merged
ntBre merged 2 commits into
astral-sh:mainfrom
bxff:fix/ruf055-empty-split-false-positive
Mar 2, 2026
Merged

[ruff] Fix false positive for re.split with empty string pattern (RUF055)#23634
ntBre merged 2 commits into
astral-sh:mainfrom
bxff:fix/ruf055-empty-split-false-positive

refactor: add Literal::is_empty and simplify split check

1dbae39
Select commit
Loading
Failed to load commit list.