Open kazet opened 1 year ago
When I create a test inheriting from KartonTestCase:
KartonTestCase
class ScannerTest(KartonTestCase): karton_class = Scanner
mypy returns the following error:
error: Incompatible types in assignment (expression has type "Type[Scanner]", base class "KartonTestCase" defined the type as "None") [assignment]
When I create a test inheriting from
KartonTestCase
:mypy returns the following error:
error: Incompatible types in assignment (expression has type "Type[Scanner]", base class "KartonTestCase" defined the type as "None") [assignment]