PyAV-Org / PyAV

Pythonic bindings for FFmpeg's libraries.
https://pyav.basswood-io.com/
BSD 3-Clause "New" or "Revised" License
2.47k stars 360 forks source link

Remove incorrect `av/__init__.pyi` #1432

Closed jlaine closed 3 months ago

jlaine commented 3 months ago

We do not need this type stub, since __init__.py is already a Python file. What's more the file is incorrect since it uses star imports, which the actual __init__.py does not.

WyattBlue commented 3 months ago

I'm glad that __init__.pyi can be removed. However, that does mean we need to write a stub for audio/fifo since mypy is checking __init__.py now. I actually went and already did that and applied your changes #1433, so we don't need this pull request now.