-
-
Notifications
You must be signed in to change notification settings - Fork 673
Closed
Description
Using lief 0.13.0
& mypy 1.2.0
(both installed via pip), with some code like this:
import lief
binary = lief.parse("/path/to/binary")
arch = binary.abstract.header.architecture
binary.concrete
# .. do other stuff
when passed to mypy gives:
# mypy test.py
test.py:4: error: "object" has no attribute "header" [attr-defined]
Found 1 error in 1 file (checked 1 source file)
Metadata
Metadata
Assignees
Labels
No labels