MartinThoma / openpyxl-stubs

Type stubs for openpyxl
MIT License
9 stars 9 forks source link

Make Path-type acceptable for load and save workbook #21

Closed khorovodovod closed 1 year ago

khorovodovod commented 1 year ago

I'm using loading and saving openpyxl Workbooks with Path in all my projects which is convenient with different OS. So I think it would be nice if mypy would stop alarming me about error, because it works okay here (will be glad to be corrected if you provide info of different behavior)

MartinThoma commented 1 year ago

Thank you for fixing it! I'll release to PyPI in a few minutes