python-lsp / pylsp-mypy

Mypy plugin for the Python LSP Server.
MIT License
118 stars 35 forks source link

add regex pattern matching to exclude documents from type checking #68

Closed MrGreenTea closed 10 months ago

MrGreenTea commented 1 year ago

See #67 and also my comments there.

I am unsure if it makes sense to optimize the regex by compiling it when loading the configuration. I am unsure how this will work with settings provides by the LSP directly instead of in a pylsp-mypy.cfg or pyproject.toml.

maerteijn commented 11 months ago

See also my slightly adjusted version in #71

Richardk2n commented 10 months ago

Thank you for your contribution. It has been merged in the form of #71