mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-09 14:24:17 +00:00
short circuit on ast error before tokenization error
This commit is contained in:
parent
645cd71f57
commit
456e98486e
6 changed files with 47 additions and 94 deletions
|
|
@ -13,7 +13,6 @@ from flake8 import exceptions
|
|||
plugin_name="plugin_name",
|
||||
exception=ValueError("boom!"),
|
||||
),
|
||||
exceptions.InvalidSyntax(exception=ValueError("Unexpected token: $")),
|
||||
exceptions.PluginRequestedUnknownParameters(
|
||||
plugin={"plugin_name": "plugin_name"},
|
||||
exception=ValueError("boom!"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue