18 Apr
2020
18 Apr
'20
5:58 a.m.
On Fri, 17 Apr 2020 at 16:58, Никита Соболев <n.a.sobolev@gmail.com> wrote:
Sure, I'd be happy to.
I cannot say that I know from where to start, however :)
"Bundled" plugins in mypy live here https://github.com/python/mypy/tree/master/mypy/plugins (mostly one plugin per file, there are some examples for existing stdlib plugins like ctypes, enum, dataclasses) The plugin hooks should be then added to `DefaultPlugin` in `default.py`. The tests can probably go into https://github.com/python/mypy/blob/master/test-data/unit/check-default-plug... (not really important where to put them) If you will make a PR, then someone will likely guide you through if there are issues. Can't guarantee a quick response however. -- Ivan