ruff/crates/ruff_linter
Brent Westbrook 1bbb553d6f Stabilize pytest-raises-ambiguous-pattern (RUF043) (#20253)
This one has been a bit contentious in the past. It usually uncovers
~700 ecosystem hits. See:

- https://github.com/astral-sh/ruff/pull/16657
- https://github.com/astral-sh/ruff/issues/16690

But I think there's consensus that it's okay to merge as-is. We'd love
an
autofix since it's so common, but we can't reliably tell what a user
meant. The
pattern is ambiguous after all 😆

This is the first rule that actually needed its test case relocated, but
the
docs looked good.
2025-09-10 09:00:27 -04:00
..
resources [pyupgrade] Apply UP008 only when the __class__ cell exists (#19424) 2025-09-09 14:59:23 -04:00
src Stabilize pytest-raises-ambiguous-pattern (RUF043) (#20253) 2025-09-10 09:00:27 -04:00
Cargo.toml Bump 0.12.12 (#20242) 2025-09-04 11:35:56 -05:00