include the file path in the plugin execution error

This commit is contained in:
Anthony Sottile 2022-01-23 20:40:34 -05:00
parent 9de288a22f
commit d2333c4471
4 changed files with 24 additions and 9 deletions

View file

@ -18,6 +18,7 @@ from flake8 import exceptions
exception=ValueError("boom!"),
),
exceptions.PluginExecutionFailed(
filename="filename.py",
plugin_name="plugin_name",
exception=ValueError("boom!"),
),