Skip to content

Commit 4f774d9

Browse files
authored
Run prettier on our yaml, json and md files (microsoft#10871)
* Run prettier on our yaml and md files * Run prettier on some of our json files * Use prettier 2.0.2
1 parent c523d6b commit 4f774d9

64 files changed

Lines changed: 7974 additions & 8110 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.devcontainer/devcontainer.json

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,26 @@
11
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or the definition README at
22
// https://github.com/microsoft/vscode-dev-containers/tree/master/containers/typescript-node-8
33
{
4-
"name": "Node.js 8 & TypeScript",
5-
"dockerFile": "Dockerfile",
4+
"name": "Node.js 8 & TypeScript",
5+
"dockerFile": "Dockerfile",
66

7-
// Use 'settings' to set *default* container specific settings.json values on container create.
8-
// You can edit these settings after create using File > Preferences > Settings > Remote.
9-
"settings": {
10-
"terminal.integrated.shell.linux": "/bin/bash"
11-
},
7+
// Use 'settings' to set *default* container specific settings.json values on container create.
8+
// You can edit these settings after create using File > Preferences > Settings > Remote.
9+
"settings": {
10+
"terminal.integrated.shell.linux": "/bin/bash"
11+
},
1212

13-
// Uncomment the next line if you want to publish any ports.
14-
// "appPort": [],
15-
16-
// Uncomment the next line to run commands after the container is created.
17-
// "postCreateCommand": "yarn install",
13+
// Uncomment the next line if you want to publish any ports.
14+
// "appPort": [],
1815

19-
// Uncomment the next line to use a non-root user. On Linux, this will prevent
20-
// new files getting created as root, but you may need to update the USER_UID
21-
// and USER_GID in .devcontainer/Dockerfile to match your user if not 1000.
22-
// "runArgs": [ "-u", "node" ],
16+
// Uncomment the next line to run commands after the container is created.
17+
// "postCreateCommand": "yarn install",
2318

24-
// Add the IDs of extensions you want installed when the container is created in the array below.
25-
"extensions": [
26-
"ms-vscode.vscode-typescript-tslint-plugin"
27-
]
28-
}
19+
// Uncomment the next line to use a non-root user. On Linux, this will prevent
20+
// new files getting created as root, but you may need to update the USER_UID
21+
// and USER_GID in .devcontainer/Dockerfile to match your user if not 1000.
22+
// "runArgs": [ "-u", "node" ],
23+
24+
// Add the IDs of extensions you want installed when the container is created in the array below.
25+
"extensions": ["ms-vscode.vscode-typescript-tslint-plugin"]
26+
}

.github/ISSUE_TEMPLATE/1_ds_bug_report.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Bug report for Notebook Editor, Interactive Window, Python Editor cells
33
about: Create a report to help us improve
44
labels: type-bug, data science
55
---
6+
67
# Bug: Notebook Editor, Interactive Window, Editor cells
78

89
<!-----------------------------------------------------------------------------------------------
@@ -13,6 +14,7 @@ bug template instead of this one. ***Thank you!***
1314
------------------------------------------------------------------------------------------------->
1415

1516
## Steps to cause the bug to occur
17+
1618
1.
1719

1820
## Actual behavior
@@ -25,22 +27,23 @@ https://github.com/phw/peek or https://www.screentogif.com/ to create one.
2527
------------------------------------------------------------------------------------------------->
2628

2729
### Your Jupyter and/or Python environment
28-
*Please provide as much info as you readily know*
29-
- **Jupyter server running:** Local | Remote | N/A
30-
- **Extension version:** 20YY.MM.#####-xxx
31-
- **VS Code version:** #.##
32-
- **Setting python.jediEnabled:** true | false
33-
- **Python and/or Anaconda version:** #.#.#
34-
- **OS:** Windows | Mac | Linux (distro):
35-
- **Virtual environment:** conda | venv | virtualenv | N/A | ...
30+
31+
_Please provide as much info as you readily know_
32+
33+
- **Jupyter server running:** Local | Remote | N/A
34+
- **Extension version:** 20YY.MM.#####-xxx
35+
- **VS Code version:** #.##
36+
- **Setting python.jediEnabled:** true | false
37+
- **Python and/or Anaconda version:** #.#.#
38+
- **OS:** Windows | Mac | Linux (distro):
39+
- **Virtual environment:** conda | venv | virtualenv | N/A | ...
3640

3741
## Developer Tools Console Output
42+
3843
<!-----------------------------------------------------------------------------------------------
3944
Copy/paste the output in the "Console" tab in the "Developer Tools" panel (Help >
4045
Toggle Developer Tools). For better details, run the "Enable source map support for
4146
extension debugging" command in VS Code at least once beforehand.
4247
------------------------------------------------------------------------------------------------->
43-
Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer
44-
45-
4648

49+
Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer

.github/ISSUE_TEMPLATE/2_bug_report.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ labels: classify, type-bug
88

99
## Environment data
1010

11-
- VS Code version: XXX
12-
- Extension version (available under the Extensions sidebar): XXX
13-
- OS and version: XXX
14-
- Python version (& distribution if applicable, e.g. Anaconda): XXX
15-
- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): XXX
16-
- Relevant/affected Python packages and their versions: XXX
17-
- Relevant/affected Python-related VS Code extensions and their versions: XXX
18-
- Jedi or Language Server? (i.e. what is `"python.jediEnabled"` set to; more info #3977): XXX
19-
- Value of the `python.languageServer` setting: XXX
11+
- VS Code version: XXX
12+
- Extension version (available under the Extensions sidebar): XXX
13+
- OS and version: XXX
14+
- Python version (& distribution if applicable, e.g. Anaconda): XXX
15+
- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): XXX
16+
- Relevant/affected Python packages and their versions: XXX
17+
- Relevant/affected Python-related VS Code extensions and their versions: XXX
18+
- Jedi or Language Server? (i.e. what is `"python.jediEnabled"` set to; more info #3977): XXX
19+
- Value of the `python.languageServer` setting: XXX
2020

2121
## Expected behaviour
2222

@@ -27,6 +27,7 @@ XXX
2727
XXX
2828

2929
## Steps to reproduce:
30+
3031
[**NOTE**: Self-contained, minimal reproducing code samples are **extremely** helpful and will expedite addressing your issue]
3132

3233
1. XXX
@@ -36,6 +37,7 @@ Note: If you think a GIF of what is happening would be helpful, consider tools l
3637
-->
3738

3839
## Logs
40+
3941
Output for `Python` in the `Output` panel (`View``Output`, change the drop-down the upper-right of the `Output` panel to `Python`)
4042

4143
```

.github/ISSUE_TEMPLATE/3_ds_feature_request.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Feature request for Notebook Editor, Interactive Window, Editor cells
33
about: Suggest an idea for this project
44
labels: type-enhancement, data science
55
---
6+
67
# Feature: Notebook Editor, Interactive Window, Python Editor cells
78

89
<!-----------------------------------------------------------------------------------------------
@@ -14,7 +15,4 @@ request template instead of this one. ***Thank you!***
1415

1516
## Description
1617

17-
1818
Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer
19-
20-

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ For #
44
If an item below does not apply to you, then go ahead and check it off as "done" and strikethrough the text, e.g.:
55
- [x] ~Has unit tests & system/integration tests~
66
-->
7-
- [ ] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
8-
- [ ] Title summarizes what is changing.
9-
- [ ] Has a [news entry](https://github.com/Microsoft/vscode-python/tree/master/news) file (remember to thank yourself!).
10-
- [ ] Appropriate comments and documentation strings in the code.
11-
- [ ] Has sufficient logging.
12-
- [ ] Has telemetry for enhancements.
13-
- [ ] Unit tests & system/integration tests are added/updated.
14-
- [ ] [Test plan](https://github.com/Microsoft/vscode-python/blob/master/.github/test_plan.md) is updated as appropriate.
15-
- [ ] [`package-lock.json`](https://github.com/Microsoft/vscode-python/blob/master/package-lock.json) has been regenerated by running `npm install` (if dependencies have changed).
16-
- [ ] The wiki is updated with any design decisions/details.
7+
8+
- [ ] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
9+
- [ ] Title summarizes what is changing.
10+
- [ ] Has a [news entry](https://github.com/Microsoft/vscode-python/tree/master/news) file (remember to thank yourself!).
11+
- [ ] Appropriate comments and documentation strings in the code.
12+
- [ ] Has sufficient logging.
13+
- [ ] Has telemetry for enhancements.
14+
- [ ] Unit tests & system/integration tests are added/updated.
15+
- [ ] [Test plan](https://github.com/Microsoft/vscode-python/blob/master/.github/test_plan.md) is updated as appropriate.
16+
- [ ] [`package-lock.json`](https://github.com/Microsoft/vscode-python/blob/master/package-lock.json) has been regenerated by running `npm install` (if dependencies have changed).
17+
- [ ] The wiki is updated with any design decisions/details.

0 commit comments

Comments
 (0)