mfussenegger / nvim-lint

An asynchronous linter plugin for Neovim complementary to the built-in Language Server Protocol support.
GNU General Public License v3.0
2.01k stars 208 forks source link

BUG: mypy | numpy.typing.mypy_plugin #452

Closed tomhampshire closed 11 months ago

tomhampshire commented 12 months ago

nvim-lint: bd9bcc0937614cd94c5bde56f110ddc15a76c08c mypy: 1.6.1 numpy: 1.25.2

Using a simple mypy.ini file:

[mypy]
plugins = numpy.typing.mypy_plugin

causes all mypy linting using nvim-lint to fail. All other linters will provide error/warning messages as expected, however, all messages from mypy are missing. Removing the numpy typing plugin from the mypy.ini file resolves the issue, and mypy linting messages are then provided as expected.

mfussenegger commented 12 months ago

This sounds like a mypy problem?

tomhampshire commented 12 months ago

Perhaps. However, there are no issues running mypy directly on the CLI, nor on our CI/CD server.

tomhampshire commented 11 months ago

Apologies. It turns out this was a teething problem with another plugin, and not an issue with mypy or nvim-lint. Closing the issue.