binja: add mypy config for top-level binaryninja module (#2877)

Allow mypy to skip missing 'binaryninja' (not just binaryninja.*)
when the Binary Ninja API is not installed.

Fixes #2399
This commit is contained in:
Devyansh Somvanshi
2026-02-24 21:27:46 +05:30
committed by GitHub
parent 54cc4ee7a3
commit e9b3311338
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -63,6 +63,9 @@ ignore_missing_imports = True
[mypy-PyQt5.*]
ignore_missing_imports = True
[mypy-binaryninja]
ignore_missing_imports = True
[mypy-binaryninja.*]
ignore_missing_imports = True