Skip to content

Commit 1c8bd95

Browse files
authored
Merge pull request #1564 from kraigb/kraigb-pythonfeedback
Fix content validation warnings
2 parents 568313e + 211ffc6 commit 1c8bd95

3 files changed

+3
-3
lines changed

docs/python/defining-custom-python-project-commands.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ All attribute values are case-insensitive.
150150
| Arguments | Optional | Specifies a string of arguments (if any) to give to the target. Note that when TargetType is `script`, the arguments are given to the Python program, not `python.exe`. Ignored for the `code` TargetType. |
151151
| ExecuteIn | Yes | Specifies the environment in which to run the command:<ul><li>**console**: (Default) Runs Target and the arguments as if they are entered directly on the command line. A command window appears while the Target is running, then is closed automatically.</li><li>**consolepause**: Same a console, but waits for a keypress before closing the window.</li><li>**output**: Runs Target and displays its results in the Output window in Visual Studio. If TargetType is "pip", Visual Studio uses Target as the package name and appends Arguments.</li><li>**repl**: Runs Target in the [Python Interactive Window](interactive-repl.md); the optional display name is used for the title of the window.</li><li>**none**: behaves the same as console.</li></ul>|
152152
| WorkingDirectory | Optional | The folder in which to run the command. |
153-
| ErrorRegex<br>WarningRegEx | Optional | Used only when ExecuteIn is `output`. Both values specify a regular expression with which Visual Studio parses command output to show errors and warnings in its Error List window. If not specified, the command does not affect the Error List window. For more information on what Visual Studio expects, see [Named capture groups](#named-capture-groups-for-regular-expression). |
153+
| ErrorRegex<br>WarningRegEx | Optional | Used only when ExecuteIn is `output`. Both values specify a regular expression with which Visual Studio parses command output to show errors and warnings in its Error List window. If not specified, the command does not affect the Error List window. For more information on what Visual Studio expects, see [Named capture groups](#named-capture-groups-for-regular-expressions). |
154154
| RequiredPackages | Optional | A list of package requirements for the command using the same format as [requirements.txt](https://pip.readthedocs.io/en/1.1/requirements.html) (pip.readthedocs.io). The **Run PyLint** command, for example specifies `pylint>=1.0.0`. Before running the command, Visual Studio checks that all packages in the list are installed. Visual Studio uses pip to install any missing packages. |
155155
| Environment | Optional | A string of environment variables to define before running the command. Each variable uses of the form NAME=VALUE with multiple variables separated by semicolons. A variable with multiple values must be contained in single or double quotes, as in 'NAME=VALUE1;VALUE2'. |
156156

docs/python/managing-python-environments-in-visual-studio.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ In either case, the **Python Environments** window appears as a sibling tab to S
6666

6767
The image above shows that Visual Studio detected two installations of Python 3.6 (32-bit) along with Anaconda 5.0.0.
6868

69-
The default environment in boldface is Python 3.6 (in this case part of an Anaconda installation), which Visual Studio uses for any new projects. The commands in the lower part of the window apply to the selected Python 3.6 interpreter, which as you can see is the specific installation in `C:\Python36-32`. If you don't see an environment you expect, see [Manually identifying an existing interpreter](#manually-identifying-an-existing-interpreter).
69+
The default environment in boldface is Python 3.6 (in this case part of an Anaconda installation), which Visual Studio uses for any new projects. The commands in the lower part of the window apply to the selected Python 3.6 interpreter, which as you can see is the specific installation in `C:\Python36-32`. If you don't see an environment you expect, see [Manually identifying an existing environment](#manually-identifying-an-existing-environment).
7070

7171
To the right of each listed environment is a control that opens an interactive window for that environment. Another control may appear that refreshes the IntelliSense database for that environment (see [Environments window reference](python-environments-window-tab-reference.md#intellisense-tab) for details about the database).
7272

docs/python/tutorial-working-with-python-in-visual-studio-step-03-interactive-repl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ The Visual Studio *interactive window* for Python provides a rich read-evaluate-
9696
> [!div class="nextstepaction"]
9797
> [Running code in the debugger](tutorial-working-with-python-in-visual-studio-step-04-debugging.md)
9898
99-
### Going deeper
99+
## Going deeper
100100
101101
- [Using the Interactive Window](python-interactive-repl-in-visual-studio.md)
102102
- [Using IPython REPL](interactive-repl-ipython.md)

0 commit comments

Comments
 (0)