py-stockfish / stockfish

Integrates the Stockfish chess engine with Python (Official fork)
https://py-stockfish.github.io/stockfish/
MIT License
30 stars 9 forks source link

When the Stockfish module is imported, allow mypy to analyze it #63

Open johndoknjas opened 1 year ago

johndoknjas commented 1 year ago

When I import the stockfish module to use in a project, running mypy gives me an error along the lines of this. It may be good if we can make the stockfish module be a "PEP 561 compliant stub package", so that mypy can analyze it when used in other projects.