Skip to content

Commit

Permalink
Capitalize instances of "python" in user-facing text (#159)
Browse files Browse the repository at this point in the history
* Add files via upload

* Add files via upload
  • Loading branch information
Jyothirmaikottu authored Sep 22, 2023
1 parent f5bc6df commit 76f954b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ For more information on `mypy`, see https://www.mypy-lang.org/.

Note:

- This extension is supported for all [actively supported versions](https://devguide.python.org/#status-of-python-branches) of the `python` language (i.e., python >= 3.8).
- This extension is supported for all [actively supported versions](https://devguide.python.org/#status-of-python-branches) of the `python` language (i.e., Python >= 3.8).
- Minimum supported version of `mypy` is `1.0.0`.

## Usage
Expand All @@ -22,7 +22,7 @@ If you want to disable mypy, you can [disable this extension](https://code.visua
| mypy-type-checker.args | `[]` | Custom arguments passed to `mypy`. E.g `"mypy-type-checker.args" = ["--config-file=<file>"]` |
| mypy-type-checker.severity | `{ "error": "Error", "note": "Information" }` | Controls mapping of severity from `mypy` to VS Code severity when displaying in the problems window. You can override specific `mypy` error codes `{ "error": "Error", "note": "Information", "name-defined": "Warning" }` |
| mypy-type-checker.path | `[]` | Setting to provide custom `mypy` executable. This will slow down linting, since we will have to run `mypy` executable every time or file save or open. Example 1: `["~/global_env/mypy"]` Example 2: `["conda", "run", "-n", "lint_env", "python", "-m", "mypy"]` |
| 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. |
| 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. |
| mypy-type-checker.importStrategy | `useBundled` | Setting to choose where to load `mypy` from. `useBundled` picks mypy bundled with the extension. `fromEnvironment` uses `mypy` available in the environment. |
| mypy-type-checker.showNotifications | `off` | Setting to control when a notification is shown. |
| mypy-type-checker.reportingScope | `file` | (experimental) Setting to control if problems are reported for files open in the editor (`file`) or for the entire workspace (`workspace`). |
Expand Down
4 changes: 2 additions & 2 deletions package.nls.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"extension.description": "Linting support for python files using `mypy`.",
"extension.description": "Linting support for Python files using `mypy`.",
"command.restartServer": "Restart Server",
"settings.args.description": "Arguments passed in. Each argument is a separate string in the array.",
"settings.severity.description": "Mapping from severity of `mypy` message type to severity shown in problem window.",
"settings.path.description": "When set to a path to `mypy` binary, extension will use that for linting. NOTE: Using this option may slowdown linting.",
"settings.importStrategy.description": "Defines where `mypy` is imported from. This setting may be ignored if `mypy-type-checker.path` is set.",
"settings.importStrategy.useBundled.description": "Always use the bundled version of `mypy`.",
"settings.importStrategy.fromEnvironment.description": "Use `mypy` from environment, fallback to bundled version only if `mypy` not available in the environment.",
"settings.interpreter.description": "When set to a path to python executable, extension will use that to launch the server and any subprocess.",
"settings.interpreter.description": "When set to a path to Python executable, extension will use that to launch the server and any subprocess.",
"settings.preferDaemon.description": "When set to true, `dmypy` is preferred over `mypy`; otherwise, `mypy` is preferred. This setting will be overridden if `mypy-type-checker.path` is set. NOTE: Setting this option to false may slowdown linting.",
"settings.reportingScope.description": "Defines the scope of the problems reported by the extension.",
"settings.reportingScope.file.description": "Problems are reported for the files open in the editor only.",
Expand Down

0 comments on commit 76f954b

Please sign in to comment.