Open
Description
Trying to run the linter on py<3.11 on code using except*
crashes noisily with a SyntaxError
. While fairly easy to figure out what went wrong we could wrap ast.parse
in a try: except SyntaxError
and print a somewhat more helpful message, and continue analyzing the other files.
And ofc if a file straight up has syntax errors.