Skip to content

Commit a831422

Browse files
[syntax-error] Detail the reason why pylint can't analyse the file after a syntax error (#9589)
Closes #9588
1 parent 82ef647 commit a831422

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
The python's ast builtin module cannot parse your code if there's a syntax error, so
2+
if there's a syntax error other messages won't be available at all.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- `Why can't pylint recover from a syntax error ? <https://stackoverflow.com/a/78419051/2519059>`_

0 commit comments

Comments
 (0)