From 3537f459cfcafb9f44ff42359fb87d43ef0ce691 Mon Sep 17 00:00:00 2001 From: Antoine Beyeler Date: Wed, 5 Jul 2023 17:53:40 +0200 Subject: [PATCH 1/2] Added very basic pyright config in pyproject.toml --- pyrightconfig.json | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pyrightconfig.json diff --git a/pyrightconfig.json b/pyrightconfig.json new file mode 100644 index 000000000000..8487d9b7350e --- /dev/null +++ b/pyrightconfig.json @@ -0,0 +1,23 @@ +{ + "extraPaths": [ + "rerun_py/rerun_sdk" + ], + + "exclude": [ + "**/node_modules", + "**/__pycache__" + ], + + "ignore": [ + "rerun_py/rerun", + "rerun_py/rerun_demo" + ], + + "defineConstant": { + "DEBUG": true + }, + + "venv": "venv", + + "reportPrivateImportUsage": false +} \ No newline at end of file From 1b7313242fc446cdf0f22ec22f02b3fce949e5a1 Mon Sep 17 00:00:00 2001 From: Antoine Beyeler Date: Thu, 6 Jul 2023 11:35:14 +0200 Subject: [PATCH 2/2] fixed whitespace --- pyrightconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrightconfig.json b/pyrightconfig.json index 8487d9b7350e..6d34461b9cc3 100644 --- a/pyrightconfig.json +++ b/pyrightconfig.json @@ -20,4 +20,4 @@ "venv": "venv", "reportPrivateImportUsage": false -} \ No newline at end of file +}