mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-29 10:36:53 +00:00
Merge pull request #1527 from PyCQA/better-unknown-arg-error
slightly improve unknown parameter error
This commit is contained in:
commit
5445a6fc27
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