Skip to content

Commit f70789f

Browse files
authored
Merge branch 'main' into copilot/fix-open-directories-issue
2 parents 549fd1a + cf088e8 commit f70789f

29 files changed

+216
-174
lines changed

.github/actions/build-vsix/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ runs:
2222
using: 'composite'
2323
steps:
2424
- name: Install Node
25-
uses: actions/setup-node@v4
25+
uses: actions/setup-node@v6
2626
with:
2727
node-version: ${{ inputs.node_version }}
2828
cache: 'npm'
@@ -93,7 +93,7 @@ runs:
9393
VSIX_NAME: ${{ inputs.vsix_name }}
9494

9595
- name: Upload VSIX
96-
uses: actions/upload-artifact@v4
96+
uses: actions/upload-artifact@v5
9797
with:
9898
name: ${{ inputs.artifact_name }}
9999
path: ${{ inputs.vsix_name }}

.github/actions/lint/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ runs:
1010
using: 'composite'
1111
steps:
1212
- name: Install Node
13-
uses: actions/setup-node@v5
13+
uses: actions/setup-node@v6
1414
with:
1515
node-version: ${{ inputs.node_version }}
1616
cache: 'npm'

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ jobs:
236236
sparse-checkout-cone-mode: false
237237

238238
- name: Install Node
239-
uses: actions/setup-node@v5
239+
uses: actions/setup-node@v6
240240
with:
241241
node-version: ${{ env.NODE_VERSION }}
242242
cache: 'npm'

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242

4343
# Initializes the CodeQL tools for scanning.
4444
- name: Initialize CodeQL
45-
uses: github/codeql-action/init@v3
45+
uses: github/codeql-action/init@v4
4646
with:
4747
languages: ${{ matrix.language }}
4848
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -67,4 +67,4 @@ jobs:
6767
# make release
6868

6969
- name: Perform CodeQL Analysis
70-
uses: github/codeql-action/analyze@v3
70+
uses: github/codeql-action/analyze@v4

.github/workflows/community-feedback-auto-comment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
issues: write
1313
steps:
1414
- name: Check For Existing Comment
15-
uses: peter-evans/find-comment@3eae4d37986fb5a8592848f6a574fdf654e61f9e # v3.1.0
15+
uses: peter-evans/find-comment@b30e6a3c0ed37e7c023ccd3f1db5c6c0b0c23aad # v4.0.0
1616
id: finder
1717
with:
1818
issue-number: ${{ github.event.issue.number }}
@@ -21,7 +21,7 @@ jobs:
2121

2222
- name: Add Community Feedback Comment
2323
if: steps.finder.outputs.comment-id == ''
24-
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
24+
uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v5.0.0
2525
with:
2626
issue-number: ${{ github.event.issue.number }}
2727
body: |

.github/workflows/pr-check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ jobs:
233233
sparse-checkout-cone-mode: false
234234

235235
- name: Install Node
236-
uses: actions/setup-node@v5
236+
uses: actions/setup-node@v6
237237
with:
238238
node-version: ${{ env.NODE_VERSION }}
239239
cache: 'npm'
@@ -505,7 +505,7 @@ jobs:
505505
sparse-checkout-cone-mode: false
506506

507507
- name: Install Node
508-
uses: actions/setup-node@v5
508+
uses: actions/setup-node@v6
509509
with:
510510
node-version: ${{ env.NODE_VERSION }}
511511
cache: 'npm'
@@ -680,7 +680,7 @@ jobs:
680680
run: npm run test:cover:report
681681

682682
- name: Upload HTML report
683-
uses: actions/upload-artifact@v4
683+
uses: actions/upload-artifact@v5
684684
with:
685685
name: ${{ runner.os }}-coverage-report-html
686686
path: ./coverage

.github/workflows/pr-file-check.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,3 @@ jobs:
4242
.github/test_plan.md
4343
skip-label: 'skip tests'
4444
failure-message: 'TypeScript code was edited without also editing a ${file-pattern} file; see the Testing page in our wiki on testing guidelines (the ${skip-label} label can be used to pass this check)'
45-
46-
- name: 'Ensure PR has an associated issue'
47-
uses: actions/github-script@v8
48-
with:
49-
script: |
50-
const labels = context.payload.pull_request.labels.map(label => label.name);
51-
if (!labels.includes('skip-issue-check')) {
52-
const prBody = context.payload.pull_request.body || '';
53-
const issueLink = prBody.match(/https:\/\/github\.com\/\S+\/issues\/\d+/);
54-
const issueReference = prBody.match(/#\d+/);
55-
if (!issueLink && !issueReference) {
56-
core.setFailed('No associated issue found in the PR description.');
57-
}
58-
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: PR issue check
2+
3+
on:
4+
pull_request:
5+
types:
6+
- 'opened'
7+
- 'reopened'
8+
- 'synchronize'
9+
- 'labeled'
10+
- 'unlabeled'
11+
12+
permissions: {}
13+
14+
jobs:
15+
check-for-attached-issue:
16+
name: 'Check for attached issue'
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: 'Ensure PR has an associated issue'
20+
uses: actions/github-script@v8
21+
with:
22+
script: |
23+
const labels = context.payload.pull_request.labels.map(label => label.name);
24+
if (!labels.includes('skip-issue-check')) {
25+
const prBody = context.payload.pull_request.body || '';
26+
const issueLink = prBody.match(/https:\/\/github\.com\/\S+\/issues\/\d+/);
27+
const issueReference = prBody.match(/#\d+/);
28+
if (!issueLink && !issueReference) {
29+
core.setFailed('No associated issue found in the PR description.');
30+
}
31+
}

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,13 @@ To see all available Python commands, open the Command Palette and type `Python`
9090

9191
Learn more about the rich features of the Python extension:
9292

93-
- [IntelliSense](https://code.visualstudio.com/docs/python/editing#_autocomplete-and-intellisense): Edit your code with auto-completion, code navigation, syntax checking and more
94-
- [Linting](https://code.visualstudio.com/docs/python/linting): Get additional code analysis with Pylint, Flake8 and more
95-
- [Code formatting](https://code.visualstudio.com/docs/python/formatting): Format your code with black, autopep or yapf
96-
- [Debugging](https://code.visualstudio.com/docs/python/debugging): Debug your Python scripts, web apps, remote or multi-threaded processes
93+
- [IntelliSense](https://code.visualstudio.com/docs/python/editing#_autocomplete-and-intellisense): Edit your code with auto-completion, code navigation, syntax checking and more.
94+
- [Linting](https://code.visualstudio.com/docs/python/linting): Get additional code analysis with Pylint, Flake8 and more.
95+
- [Code formatting](https://code.visualstudio.com/docs/python/formatting): Format your code with black, autopep or yapf.
96+
- [Debugging](https://code.visualstudio.com/docs/python/debugging): Debug your Python scripts, web apps, remote or multi-threaded processes.
9797
- [Testing](https://code.visualstudio.com/docs/python/unit-testing): Run and debug tests through the Test Explorer with unittest or pytest.
98-
- [Jupyter Notebooks](https://code.visualstudio.com/docs/python/jupyter-support): Create and edit Jupyter Notebooks, add and run code cells, render plots, visualize variables through the variable explorer, visualize dataframes with the data viewer, and more
99-
- [Environments](https://code.visualstudio.com/docs/python/environments): Automatically activate and switch between virtualenv, venv, pipenv, conda and pyenv environments
98+
- [Jupyter Notebooks](https://code.visualstudio.com/docs/python/jupyter-support): Create and edit Jupyter Notebooks, add and run code cells, render plots, visualize variables through the variable explorer, visualize dataframes with the data viewer, and more.
99+
- [Environments](https://code.visualstudio.com/docs/python/environments): Automatically activate and switch between virtualenv, venv, pipenv, conda and pyenv environments.
100100
- [Refactoring](https://code.visualstudio.com/docs/python/editing#_refactoring): Restructure your Python code with variable extraction and method extraction. Additionally, there is componentized support to enable additional refactoring, such as import sorting, through extensions including [isort](https://marketplace.visualstudio.com/items?itemName=ms-python.isort) and [Ruff](https://marketplace.visualstudio.com/items?itemName=charliermarsh.ruff).
101101

102102

@@ -121,6 +121,6 @@ The Microsoft Python Extension for Visual Studio Code collects usage
121121
data and sends it to Microsoft to help improve our products and
122122
services. Read our
123123
[privacy statement](https://privacy.microsoft.com/privacystatement) to
124-
learn more. This extension respects the `telemetry.enableTelemetry`
124+
learn more. This extension respects the `telemetry.telemetryLevel`
125125
setting which you can learn more about at
126126
https://code.visualstudio.com/docs/supporting/faq#_how-to-disable-telemetry-reporting.

package-lock.json

Lines changed: 8 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)