From 06c494291c3b483fbbbf60a6737da2b8c19da212 Mon Sep 17 00:00:00 2001 From: John Colvin Date: Wed, 4 Jun 2025 04:59:55 +0000 Subject: [PATCH] dev qol: Add pyrightconfig.json for type hints in py/c++ bridge --- .../python_core_plugins/pyrightconfig.json | 16 +++++++++++++++ .../pyrightconfig.json | 20 +++++++++++++++++++ .../python_md_providers/pyrightconfig.json | 20 +++++++++++++++++++ 3 files changed, 56 insertions(+) create mode 100644 src/lib_python_core/python_core_plugins/pyrightconfig.json create mode 100644 src/lib_python_execution/python_execution_gateways/pyrightconfig.json create mode 100644 src/lib_python_md/python_md_providers/pyrightconfig.json diff --git a/src/lib_python_core/python_core_plugins/pyrightconfig.json b/src/lib_python_core/python_core_plugins/pyrightconfig.json new file mode 100644 index 000000000..be2a21871 --- /dev/null +++ b/src/lib_python_core/python_core_plugins/pyrightconfig.json @@ -0,0 +1,16 @@ +{ + "include": [ + ".", + ], + "exclude": [ + "**/__pycache__" + ], + "reportMissingImports": true, + "reportMissingTypeStubs": false, + "stubPath": "../../../build/sparkd-debug-clang/src/lib_python_core/stubs", + "pythonVersion": "3.10", + "pythonPlatform": "Linux", + "typeCheckingMode": "basic", + "venvPath": "../../../", + "venv": ".venv" +} diff --git a/src/lib_python_execution/python_execution_gateways/pyrightconfig.json b/src/lib_python_execution/python_execution_gateways/pyrightconfig.json new file mode 100644 index 000000000..eacf29f21 --- /dev/null +++ b/src/lib_python_execution/python_execution_gateways/pyrightconfig.json @@ -0,0 +1,20 @@ +{ + "include": [ + ".", + ], + "exclude": [ + "**/__pycache__" + ], + "reportMissingImports": true, + "reportMissingTypeStubs": false, + "stubPath": "../../../build/sparkd-debug-clang/src/lib_python_execution/stubs", + "extraPaths": [ + "../../lib_python_core/python_core_plugins", + "../../../build/sparkd-debug-clang/src/lib_python_core/stubs", + ], + "pythonVersion": "3.10", + "pythonPlatform": "Linux", + "typeCheckingMode": "basic", + "venvPath": "../../../", + "venv": ".venv" +} diff --git a/src/lib_python_md/python_md_providers/pyrightconfig.json b/src/lib_python_md/python_md_providers/pyrightconfig.json new file mode 100644 index 000000000..d92bc4f70 --- /dev/null +++ b/src/lib_python_md/python_md_providers/pyrightconfig.json @@ -0,0 +1,20 @@ +{ + "include": [ + ".", + ], + "exclude": [ + "**/__pycache__" + ], + "reportMissingImports": true, + "reportMissingTypeStubs": false, + "stubPath": "../../../build/sparkd-debug-clang/src/lib_python_md/stubs", + "extraPaths": [ + "../../lib_python_core/python_core_plugins", + "../../../build/sparkd-debug-clang/src/lib_python_core/stubs", + ], + "pythonVersion": "3.10", + "pythonPlatform": "Linux", + "typeCheckingMode": "basic", + "venvPath": "../../../", + "venv": ".venv" +}