Since trezorlib is imported also by bitbox02, it would be type-checked by mypy. Since it contains no types, it is easiest to ignore trezorlib in mypy. --implicit-reexport is disabled by --strict, but that is a bit too strict. The bitbox02 package relies on implicit reexports.
5 lines
128 B
INI
5 lines
128 B
INI
[mypy]
|
|
# Do not type check trezorlib because it does not provide types.
|
|
[mypy-hwilib.devices.trezorlib.*]
|
|
follow_imports = skip
|