Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/devcontainers/python:3.9
FROM mcr.microsoft.com/devcontainers/python:3.10

RUN python -m pip install --upgrade pip

Expand Down
10 changes: 7 additions & 3 deletions .github/actions/build-vsix/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ inputs:
node_version:
description: 'Version of Node to install'
required: true
python_version:
description: 'Version of Python to install (minimum supported version)'
required: false
default: '3.10'

runs:
using: 'composite'
Expand All @@ -15,11 +19,11 @@ runs:
node-version: ${{ inputs.node_version }}
cache: 'npm'

# Minimum supported version is Python 3.9
- name: Use Python 3.9
# Minimum supported version is defined by python_version input
- name: Use Python ${{ inputs.python_version }}
uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: ${{ inputs.python_version }}

- name: Pip cache
uses: actions/cache@v4
Expand Down
6 changes: 5 additions & 1 deletion .github/actions/lint/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ inputs:
node_version:
description: 'Version of Node to install'
required: true
python_version:
description: 'Version of Python to install'
required: false
default: '3.10'

runs:
using: 'composite'
Expand All @@ -30,7 +34,7 @@ runs:
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: ${{ inputs.python_version }}

- name: Pip cache
uses: actions/cache@v4
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:

env:
NODE_VERSION: 22.17.0
PYTHON_VERSION: '3.10'
TEST_RESULTS_DIRECTORY: .
# Force a path with spaces and unicode chars to test extension works in these scenarios
special-working-directory: './testingDir'
Expand Down Expand Up @@ -45,20 +46,19 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
python: ['3.10', '3.11', '3.12', '3.13', '3.14']

steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: ${{ env.special-working-directory-relative }}

# Install bundled libs using 3.9 even though you test it on other versions.
- name: Use Python 3.9
# Install bundled libs using minimum supported version even though you test it on other versions.
- name: Use Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v5
with:
python-version: '3.9'

python-version: ${{ env.PYTHON_VERSION }}
- name: Update pip, install wheel and nox
run: python -m pip install -U pip wheel nox
shell: bash
Expand All @@ -68,7 +68,7 @@ jobs:
run: python -m nox --session install_bundled_libs
shell: bash

# Now that the bundle is installed to target using python 3.9
# Now that the bundle is installed to target using minimum supported Python version
# switch back the python we want to test with
- name: Use Python ${{ matrix.python }}
uses: actions/setup-python@v5
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/push-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:

env:
NODE_VERSION: 22.17.0
PYTHON_VERSION: '3.10'
TEST_RESULTS_DIRECTORY: .
# Force a path with spaces and unicode chars to test extension works in these scenarios
special-working-directory: './testingDir'
Expand Down Expand Up @@ -50,20 +51,19 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
python: ['3.10', '3.11', '3.12', '3.13', '3.14']

steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: ${{ env.special-working-directory-relative }}

# Install bundled libs using 3.9 even though you test it on other versions.
- name: Use Python 3.9
# Install bundled libs using minimum supported version even though you test it on other versions.
- name: Use Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v5
with:
python-version: '3.9'

python-version: ${{ env.PYTHON_VERSION }}
- name: Update pip, install wheel and nox
run: python -m pip install -U pip wheel nox
shell: bash
Expand All @@ -73,7 +73,7 @@ jobs:
run: python -m nox --session install_bundled_libs
shell: bash

# Now that the bundle is installed to target using python 3.9
# Now that the bundle is installed to target using minimum supported Python version
# switch back the python we want to test with
- name: Use Python ${{ matrix.python }}
uses: actions/setup-python@v5
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Pylint extension for Visual Studio Code

A Visual Studio Code extension with support for the Pylint linter. This extension ships with `pylint=3.3.9`.
A Visual Studio Code extension with support for the Pylint linter. This extension ships with `pylint=4.0.4`.

> **Note**: The minimum version of Pylint this extension supports is `3.3.0`. If you are having issues with Pylint, please report it to [this issue tracker](https://github.com/pylint-dev/pylint/issues) as this extension is just a wrapper around Pylint.

Expand Down
4 changes: 3 additions & 1 deletion build/azure-devdiv-pipeline.pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ variables:
value: pylint.vsix
- name: AZURE_ARTIFACTS_FEED
value: 'https://devdiv.pkgs.visualstudio.com/DevDiv/_packaging/Pylance_PublicPackages/npm/registry/'
- name: PythonVersion
value: '3.10'
parameters:
- name: publishExtension
displayName: 🚀 Publish Extension
Expand Down Expand Up @@ -81,7 +83,7 @@ extends:

- task: UsePythonVersion@0
inputs:
versionSpec: '3.9' # note Install Python dependencies step below relies on Python 3.9
versionSpec: $(PythonVersion)
addToPath: true
architecture: 'x64'
displayName: Select Python version
Expand Down
4 changes: 3 additions & 1 deletion build/azure-devdiv-pipeline.stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ variables:
value: VSCode-pylint
- name: VsixName
value: pylint.vsix
- name: PythonVersion
value: '3.10'

parameters:
- name: publishExtension
Expand Down Expand Up @@ -66,7 +68,7 @@ extends:
displayName: Select Node 22 LTS
- task: UsePythonVersion@0
inputs:
versionSpec: '3.9' # note Install Python dependencies step below relies on Python 3.9
versionSpec: $(PythonVersion)
addToPath: true
architecture: 'x64'
displayName: Select Python version
Expand Down
6 changes: 5 additions & 1 deletion build/azure-pipeline.pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ resources:
ref: main
endpoint: Monaco

variables:
- name: PythonVersion
value: '3.10'

parameters:
- name: publishExtension
displayName: 🚀 Publish Extension
Expand All @@ -37,7 +41,7 @@ extends:

- task: UsePythonVersion@0
inputs:
versionSpec: '3.9'
versionSpec: $(PythonVersion)
addToPath: true
architecture: 'x64'
displayName: Select Python version
Expand Down
6 changes: 5 additions & 1 deletion build/azure-pipeline.stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ resources:
ref: main
endpoint: Monaco

variables:
- name: PythonVersion
value: '3.10'

parameters:
- name: publishExtension
displayName: 🚀 Publish Extension
Expand All @@ -33,7 +37,7 @@ extends:

- task: UsePythonVersion@0
inputs:
versionSpec: '3.9'
versionSpec: $(PythonVersion)
addToPath: true
architecture: 'x64'
displayName: Select Python version
Expand Down
1 change: 0 additions & 1 deletion bundled/tool/lsp_jsonrpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# Licensed under the MIT License.
"""Light-weight JSON-RPC over standard IO."""


import atexit
import io
import json
Expand Down
Loading
Loading