Nagini returns Type error: Encountered Any type. Type annotation missing? (dataclasses@14.0), when running the following snippet:
from nagini_contracts.contracts import *
from dataclasses import dataclass
class foo:
pass
Checking the same file with mypy works without issue.
The same error with message Type error: Encountered Any type. Type annotation missing? (enum@25.0) occurs when importing the enum module:
from nagini_contracts.contracts import *
from enum import IntEnum
class foo(IntEnum):
pass