From c278f5d3f0e7e2e6c7fb905c05f4894f6556b88f Mon Sep 17 00:00:00 2001 From: bhagya-98 Date: Fri, 22 Sep 2023 11:35:53 -0700 Subject: [PATCH 1/7] setting desc default interpreter --- README.md | 1 + package.json | 14 +++++++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d15739e..27f8926 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,7 @@ If you want to disable Black formatter, you can [disable this extension](https:/ | black-formatter.interpreter | `[]` | Path to a python interpreter to use to run the linter server. | | black-formatter.importStrategy | `useBundled` | Setting to choose where to load `black` from. `useBundled` picks black bundled with the extension. `fromEnvironment` uses `black` available in the environment. | | black-formatter.showNotification | `off` | Setting to control when a notification is shown. | +| mypy-type-checker.interpreter | `[]` | Path to a python interpreter to use to run the linter server. When set to `[]`, the interpreter for the workspace is obtained from `ms-python.python` extension. If set to some path, that path takes precedence, and the Python extension is not queried for the interpreter. | ## Commands diff --git a/package.json b/package.json index 10f100c..61ba5a3 100644 --- a/package.json +++ b/package.json @@ -145,6 +145,18 @@ ], "scope": "machine", "type": "string" + }, + "mypy-type-checker.interpreter": { + "default": [], + "markdownDescription": "%settings.interpreter.description%", + "scope": "resource", + "items": { + "type": "string" + }, + "type": "array", + "tags": [ + "experimental" + ] } } }, @@ -177,4 +189,4 @@ "webpack": "^5.88.2", "webpack-cli": "^5.1.4" } -} +} \ No newline at end of file From dbeb41f4dae3e470f452bf1a10556a09bd1d9777 Mon Sep 17 00:00:00 2001 From: Bhagyashree Kambhampati Date: Fri, 22 Sep 2023 11:38:26 -0700 Subject: [PATCH 2/7] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 61ba5a3..6e89ffc 100644 --- a/package.json +++ b/package.json @@ -189,4 +189,4 @@ "webpack": "^5.88.2", "webpack-cli": "^5.1.4" } -} \ No newline at end of file +} From 7942957361d3b0bd5ff6b16da013f8598b8c417e Mon Sep 17 00:00:00 2001 From: Bhagyashree Kambhampati Date: Fri, 22 Sep 2023 12:09:28 -0700 Subject: [PATCH 3/7] Update package.json --- package.json | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index 6e89ffc..eea490c 100644 --- a/package.json +++ b/package.json @@ -107,7 +107,10 @@ }, "markdownDescription": "%settings.interpreter.description%", "scope": "resource", - "type": "array" + "type": "array", + "tags": [ + "experimental" + ] }, "black-formatter.path": { "default": [], @@ -145,18 +148,6 @@ ], "scope": "machine", "type": "string" - }, - "mypy-type-checker.interpreter": { - "default": [], - "markdownDescription": "%settings.interpreter.description%", - "scope": "resource", - "items": { - "type": "string" - }, - "type": "array", - "tags": [ - "experimental" - ] } } }, From 2129e12bf67f086b74cc1b181c057bc364b81fdb Mon Sep 17 00:00:00 2001 From: Bhagyashree Kambhampati Date: Fri, 22 Sep 2023 12:10:55 -0700 Subject: [PATCH 4/7] Update README.md --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 27f8926..feb9e4b 100644 --- a/README.md +++ b/README.md @@ -47,10 +47,9 @@ If you want to disable Black formatter, you can [disable this extension](https:/ | black-formatter.args | `[]` | Custom arguments passed to `black`. E.g `"black-formatter.args" = ["--config", ""]` | | black-formatter.trace | `error` | Sets the tracing level for the extension. | | black-formatter.path | `[]` | Setting to provide custom `black` executable. This will slow down formatting, since we will have to run `black` executable every time or file save or open. Example 1: `["~/global_env/black"]` Example 2: `["conda", "run", "-n", "lint_env", "python", "-m", "black"]` | -| black-formatter.interpreter | `[]` | Path to a python interpreter to use to run the linter server. | +| black-formatter.interpreter | `[]` | Path to a python interpreter to use to run the linter server. When set to `[]`, the interpreter for the workspace is obtained from `ms-python.python` extension. If set to some path, that path takes precedence, and the Python extension is not queried for the interpreter | | black-formatter.importStrategy | `useBundled` | Setting to choose where to load `black` from. `useBundled` picks black bundled with the extension. `fromEnvironment` uses `black` available in the environment. | -| black-formatter.showNotification | `off` | Setting to control when a notification is shown. | -| mypy-type-checker.interpreter | `[]` | Path to a python interpreter to use to run the linter server. When set to `[]`, the interpreter for the workspace is obtained from `ms-python.python` extension. If set to some path, that path takes precedence, and the Python extension is not queried for the interpreter. | +| black-formatter.showNotification | `off` | Setting to control when a notification is shown. ## Commands From 311b5ce06b01606fbf10c450404c70443534b149 Mon Sep 17 00:00:00 2001 From: Bhagyashree Kambhampati Date: Fri, 22 Sep 2023 12:13:07 -0700 Subject: [PATCH 5/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index feb9e4b..e771273 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ If you want to disable Black formatter, you can [disable this extension](https:/ | black-formatter.path | `[]` | Setting to provide custom `black` executable. This will slow down formatting, since we will have to run `black` executable every time or file save or open. Example 1: `["~/global_env/black"]` Example 2: `["conda", "run", "-n", "lint_env", "python", "-m", "black"]` | | black-formatter.interpreter | `[]` | Path to a python interpreter to use to run the linter server. When set to `[]`, the interpreter for the workspace is obtained from `ms-python.python` extension. If set to some path, that path takes precedence, and the Python extension is not queried for the interpreter | | black-formatter.importStrategy | `useBundled` | Setting to choose where to load `black` from. `useBundled` picks black bundled with the extension. `fromEnvironment` uses `black` available in the environment. | -| black-formatter.showNotification | `off` | Setting to control when a notification is shown. +| black-formatter.showNotification | `off` | Setting to control when a notification is shown. | ## Commands From aaa9f09e5f1df6f00fac699f3b17c1fe61176582 Mon Sep 17 00:00:00 2001 From: Bhagyashree Kambhampati Date: Fri, 22 Sep 2023 12:14:12 -0700 Subject: [PATCH 6/7] changes --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e771273..6eb9606 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ If you want to disable Black formatter, you can [disable this extension](https:/ | black-formatter.path | `[]` | Setting to provide custom `black` executable. This will slow down formatting, since we will have to run `black` executable every time or file save or open. Example 1: `["~/global_env/black"]` Example 2: `["conda", "run", "-n", "lint_env", "python", "-m", "black"]` | | black-formatter.interpreter | `[]` | Path to a python interpreter to use to run the linter server. When set to `[]`, the interpreter for the workspace is obtained from `ms-python.python` extension. If set to some path, that path takes precedence, and the Python extension is not queried for the interpreter | | black-formatter.importStrategy | `useBundled` | Setting to choose where to load `black` from. `useBundled` picks black bundled with the extension. `fromEnvironment` uses `black` available in the environment. | -| black-formatter.showNotification | `off` | Setting to control when a notification is shown. | +| black-formatter.showNotification | `off` | Setting to control when a notification is shown. | ## Commands From c02b518c5875c28e6bdafcc7e47850c2f790b2a2 Mon Sep 17 00:00:00 2001 From: Bhagyashree Kambhampati Date: Fri, 22 Sep 2023 12:33:31 -0700 Subject: [PATCH 7/7] remove experimental tag --- package.json | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/package.json b/package.json index eea490c..10f100c 100644 --- a/package.json +++ b/package.json @@ -107,10 +107,7 @@ }, "markdownDescription": "%settings.interpreter.description%", "scope": "resource", - "type": "array", - "tags": [ - "experimental" - ] + "type": "array" }, "black-formatter.path": { "default": [],