ruff/python
Brent Westbrook 67602512b6
Recognize SyntaxError: as an error code for ecosystem checks (#16879)
Summary
--

This updates the regex in `ruff-ecosystem` to catch syntax errors in an
effort to prevent bugs like #16874. This should catch `ParseError`s,
`UnsupportedSyntaxError`s, and the upcoming `SemanticSyntaxError`s.

Test Plan
--

I ran the ecosystem check locally comparing v0.11.0 and v0.11.1 and saw
a large number (2757!) of new syntax errors. I also manually tested the
regex on a few lines before that.

If we merge this before #16878, I'd expect to see that number decrease
substantially in that PR too, as another test.
2025-03-20 17:25:40 -04:00
..
py-fuzzer [red-knot] fix red-knot fuzzing (#16675) 2025-03-12 06:25:29 -07:00
ruff Fix type subscript on older python versions (#15090) 2024-12-21 15:28:02 +01:00
ruff-ecosystem Recognize SyntaxError: as an error code for ecosystem checks (#16879) 2025-03-20 17:25:40 -04:00