Skip to content

Commit 487857f

Browse files
authored
Merge branch 'main' into splendid-bobcat
2 parents 346034d + 6edf314 commit 487857f

File tree

21 files changed

+143
-121
lines changed

21 files changed

+143
-121
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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/pr-check.yml

Lines changed: 2 additions & 2 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'

.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: 6 additions & 6 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

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "python",
33
"displayName": "Python",
44
"description": "Python language support with extension access points for IntelliSense (Pylance), Debugging (Python Debugger), linting, formatting, refactoring, unit tests, and more.",
5-
"version": "2025.15.0-dev",
5+
"version": "2025.19.0-dev",
66
"featureFlags": {
77
"usingNewInterpreterStorage": true
88
},

python_files/pythonrc.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ def __str__(self):
5252
result = ""
5353
# For non-windows allow recent_command history.
5454
if sys.platform != "win32":
55-
result = "{command_executed}{command_line}{command_finished}{prompt_started}{prompt}{command_start}".format(
55+
result = "{soh}{command_executed}{command_line}{command_finished}{prompt_started}{stx}{prompt}{soh}{command_start}{stx}".format(
56+
soh="\001",
57+
stx="\002",
5658
command_executed="\x1b]633;C\x07",
5759
command_line="\x1b]633;E;" + str(get_last_command()) + "\x07",
5860
command_finished="\x1b]633;D;" + str(exit_code) + "\x07",

0 commit comments

Comments
 (0)