mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-04 12:16:53 +00:00
slightly improve unknown parameter error
This commit is contained in:
parent
2b08d57ac4
commit
9b9072e13d
1 changed files with 1 additions and 1 deletions
|
|
@ -344,7 +344,7 @@ class FileChecker:
|
|||
except AttributeError as ae:
|
||||
LOG.error("Plugin requested unknown parameters.")
|
||||
raise exceptions.PluginRequestedUnknownParameters(
|
||||
plugin_name=plugin.plugin.package, exception=ae
|
||||
plugin_name=plugin.display_name, exception=ae
|
||||
)
|
||||
try:
|
||||
return plugin.obj(**arguments)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue