Commit 29fe0fc
committed
Recognize
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.SyntaxError: as an error code for ecosystem checks1 parent 23382f5 commit 29fe0fc
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments