Skip to content

python3.lang: add *.pyi to the list of extensions for Python3

python3.lang: add *.pyi to the list of extensions for Python3

Mypy uses stub files to facilitate static typing of both Python 3 and 2.7 code. Stub files are written in normal Python 3 syntax, but typically omit the implementation of the functions and types they describe.

https://gitlab.freedesktop.org/xdg/shared-mime-info/merge_requests/115 https://www.python.org/dev/peps/pep-0484/#stub-files https://mypy.readthedocs.io/en/stable/stubs.html#stub-file-syntax

Edited by Andy Holmes

Merge request reports