Nagini fails during translation in this setup when running nagini --base-dir=../ foo.py from a common folder:
# __init__.py
from .A import A
# A.py
class A():
@property
def value(self) -> int:
return 5
# foo.py
from nagini_contracts.contracts import *
from . import *
class foo():
def test(self, a: A) -> bool:
Requires(a.value > 4)
return True
Nagini fails during translation in this setup when running
nagini --base-dir=../ foo.pyfrom a common folder: