You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first one works correctly. The second one fails with:
» mypy server
setup.cfg:138: error: Error importing plugin "": Empty module name [misc]
Found 1 error in 1 file (errors prevented further checking)
I think that this error message is very confusing. I've spent several minutes tring to figure out why my plugin under test is broken. Turned out I had an extra comma in the settings.
The same happens with other similar settings. This works:
Bug Report
Right now these two configurations are different:
And:
The first one works correctly. The second one fails with:
I think that this error message is very confusing. I've spent several minutes tring to figure out why my plugin under test is broken. Turned out I had an extra comma in the settings.
The same happens with other similar settings. This works:
This raises:
Again, I think that this is confusing and can easily be avoided to 0 cost.
I will check
pyproject.toml
config files. No idea if they are also affected.The text was updated successfully, but these errors were encountered: