From d08a7fc995481cda959a9d9a22f44e94e5c599ba Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Fri, 27 Aug 2021 13:26:36 -0400 Subject: Ignore some unneeded type check errors --- python/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python') diff --git a/python/__init__.py b/python/__init__.py index c46fb0d6..734add95 100644 --- a/python/__init__.py +++ b/python/__init__.py @@ -271,14 +271,14 @@ def connect_pycharm_debugger(port=5678): # Get pip install string from PyCharm's Python Debug Server Configuration # e.g. for PyCharm 2021.1.1 #PY-7142.13: # pip install --user pydevd-pycharm~=211.7142.13 - import pydevd_pycharm + import pydevd_pycharm # type: ignore pydevd_pycharm.settrace('localhost', port=port, stdoutToServer=True, stderrToServer=True, suspend=False) def connect_vscode_debugger(port=5678): # Note: Calling this from startup.py will cause Binary Ninja to hang on startup until VSCode starts debugging # pip install --user debugpy - import debugpy + import debugpy # type: ignore import sys if sys.platform == "win32": debugpy.configure(python=f"{sys.base_exec_prefix}/python", qt="pyside2") -- cgit v1.3.1