mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-12 18:02:33 +02:00
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:
@ -10,7 +10,7 @@ Otherwise the exit status will be 1 and it will log which executables failed whi
|
||||
import sys
|
||||
from typing import List
|
||||
|
||||
import lief
|
||||
import lief #type:ignore
|
||||
|
||||
def check_ELF_RELRO(binary) -> bool:
|
||||
'''
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user