nutti / fake-bpy-module

Fake Blender Python API module collection for the code completion.
MIT License
1.32k stars 95 forks source link

Unnecessary py.typed files in sub-packages. #167

Closed JonathanPlasse closed 7 months ago

JonathanPlasse commented 7 months ago

In the code generation, py.typed files only need to be at the top level of packages, if I am not mistaken.

Package maintainers who wish to support type checking of their code MUST add a marker file named py.typed to their package supporting typing. This marker applies recursively: if a top-level package includes it, all its sub-packages MUST support type checking as well.

Source: PEP 561.

JonathanPlasse commented 2 months ago

There was a regression. I will fix.