Closed dmurphway closed 1 year ago
Importing InvalidPaymentsError as: from pyxirr import InvalidPaymentsError results in an import error being flagged by mypy.
from pyxirr import InvalidPaymentsError
Workaround needed to run is: from pyxirr import InvalidPaymentsError # type: ignore [attr-defined]
from pyxirr import InvalidPaymentsError # type: ignore [attr-defined]
Explicitly declaring the exception name in the .pyi file should solve this issue.
Fixed in v0.8.1
Importing InvalidPaymentsError as:
from pyxirr import InvalidPaymentsError
results in an import error being flagged by mypy.Workaround needed to run is:
from pyxirr import InvalidPaymentsError # type: ignore [attr-defined]
Explicitly declaring the exception name in the .pyi file should solve this issue.