lint: enable mypy checking for missing imports

Achieve this by adding some ignore, and making data/ importable.

Co-authored-by: João Barbosa <joao.paulo.barbosa@gmail.com>
This commit is contained in:
josibake
2021-08-24 18:05:43 +02:00
committed by fanquake
parent 22e652662b
commit a46f71bb70
6 changed files with 5 additions and 5 deletions

View File

@@ -13,7 +13,7 @@ Example usage:
import sys
from typing import List, Dict
import lief
import lief #type:ignore
# temporary constant, to be replaced with lief.ELF.ARCH.RISCV
# https://github.com/lief-project/LIEF/pull/562