diff options
| author | Peter LaFosse <peter@vector35.com> | 2021-08-27 13:26:36 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2021-09-06 11:46:43 -0400 |
| commit | d08a7fc995481cda959a9d9a22f44e94e5c599ba (patch) | |
| tree | b42492a24b4a908bff086908c41dba6e767bfbb2 /python/__init__.py | |
| parent | 83cc877d62d1303d20d42bd2fd62b27247f5ff22 (diff) | |
Ignore some unneeded type check errors
Diffstat (limited to 'python/__init__.py')
| -rw-r--r-- | python/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
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") |
