-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'pylint-dev:main' into per_directory_configs
- Loading branch information
Showing
26 changed files
with
167 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ jobs: | |
timeout-minutes: 10 | ||
steps: | ||
- name: Check out code from GitHub | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
with: | ||
# `towncrier check` runs `git diff --name-only origin/main...`, which | ||
# needs a non-shallow clone. | ||
|
@@ -41,7 +41,7 @@ jobs: | |
$GITHUB_OUTPUT | ||
- name: Restore Python virtual environment | ||
id: cache-venv | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].2 | ||
with: | ||
path: venv | ||
key: >- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,7 +33,7 @@ jobs: | |
pre-commit-key: ${{ steps.generate-pre-commit-key.outputs.key }} | ||
steps: | ||
- name: Check out code from GitHub | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
- name: Set up Python ${{ env.DEFAULT_PYTHON }} | ||
id: python | ||
uses: actions/[email protected] | ||
|
@@ -49,7 +49,7 @@ jobs: | |
$GITHUB_OUTPUT | ||
- name: Restore Python virtual environment | ||
id: cache-venv | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].2 | ||
with: | ||
path: venv | ||
key: >- | ||
|
@@ -71,7 +71,7 @@ jobs: | |
hashFiles('.pre-commit-config.yaml') }}" >> $GITHUB_OUTPUT | ||
- name: Restore pre-commit environment | ||
id: cache-precommit | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].2 | ||
with: | ||
path: ${{ env.PRE_COMMIT_CACHE }} | ||
key: >- | ||
|
@@ -89,7 +89,7 @@ jobs: | |
needs: prepare-base | ||
steps: | ||
- name: Check out code from GitHub | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
- name: Set up Python ${{ env.DEFAULT_PYTHON }} | ||
id: python | ||
uses: actions/[email protected] | ||
|
@@ -98,7 +98,7 @@ jobs: | |
check-latest: true | ||
- name: Restore Python virtual environment | ||
id: cache-venv | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].2 | ||
with: | ||
path: venv | ||
fail-on-cache-miss: true | ||
|
@@ -107,7 +107,7 @@ jobs: | |
needs.prepare-base.outputs.python-key }} | ||
- name: Restore pre-commit environment | ||
id: cache-precommit | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].2 | ||
with: | ||
path: ${{ env.PRE_COMMIT_CACHE }} | ||
fail-on-cache-miss: true | ||
|
@@ -130,7 +130,7 @@ jobs: | |
needs: prepare-base | ||
steps: | ||
- name: Check out code from GitHub | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
- name: Set up Python ${{ env.DEFAULT_PYTHON }} | ||
id: python | ||
uses: actions/[email protected] | ||
|
@@ -139,7 +139,7 @@ jobs: | |
check-latest: true | ||
- name: Restore Python virtual environment | ||
id: cache-venv | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].2 | ||
with: | ||
path: venv | ||
fail-on-cache-miss: true | ||
|
@@ -158,7 +158,7 @@ jobs: | |
needs: prepare-base | ||
steps: | ||
- name: Check out code from GitHub | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
- name: Set up Python ${{ env.DEFAULT_PYTHON }} | ||
id: python | ||
uses: actions/[email protected] | ||
|
@@ -167,7 +167,7 @@ jobs: | |
check-latest: true | ||
- name: Restore Python virtual environment | ||
id: cache-venv | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].2 | ||
with: | ||
path: venv | ||
fail-on-cache-miss: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,7 +48,7 @@ jobs: | |
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
|
||
# Initializes the CodeQL tools for scanning. | ||
- name: Initialize CodeQL | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ jobs: | |
python-key: ${{ steps.generate-python-key.outputs.key }} | ||
steps: | ||
- name: Check out code from GitHub | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
id: python | ||
uses: actions/[email protected] | ||
|
@@ -51,7 +51,7 @@ jobs: | |
$GITHUB_OUTPUT | ||
- name: Restore Python virtual environment | ||
id: cache-venv | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].2 | ||
with: | ||
path: venv | ||
key: >- | ||
|
@@ -75,7 +75,7 @@ jobs: | |
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"] | ||
steps: | ||
- name: Check out code from GitHub | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
id: python | ||
uses: actions/[email protected] | ||
|
@@ -84,7 +84,7 @@ jobs: | |
check-latest: true | ||
- name: Restore Python virtual environment | ||
id: cache-venv | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].2 | ||
with: | ||
path: venv | ||
fail-on-cache-miss: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code from GitHub | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
- name: Set up Python ${{ env.DEFAULT_PYTHON }} | ||
id: python | ||
uses: actions/[email protected] | ||
|
@@ -41,7 +41,7 @@ jobs: | |
# Restore cached Python environment | ||
- name: Restore Python virtual environment | ||
id: cache-venv | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].2 | ||
with: | ||
path: venv | ||
key: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ jobs: | |
batchIdx: [0, 1, 2, 3] | ||
steps: | ||
- name: Check out code from GitHub | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
id: python | ||
uses: actions/[email protected] | ||
|
@@ -45,7 +45,7 @@ jobs: | |
# Create a re-usable virtual environment | ||
- name: Create Python virtual environment cache | ||
id: cache-venv | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].2 | ||
with: | ||
path: venv | ||
key: | ||
|
@@ -71,7 +71,7 @@ jobs: | |
echo "commitstring=$output" >> $GITHUB_OUTPUT | ||
- name: Restore projects cache | ||
id: cache-projects | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].2 | ||
with: | ||
path: tests/.pylint_primer_tests/ | ||
key: >- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,7 @@ jobs: | |
batchIdx: [0, 1, 2, 3] | ||
steps: | ||
- name: Check out code from GitHub | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
|
@@ -56,7 +56,7 @@ jobs: | |
# Restore cached Python environment | ||
- name: Restore Python virtual environment | ||
id: cache-venv | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].2 | ||
with: | ||
path: venv | ||
key: | ||
|
@@ -140,7 +140,7 @@ jobs: | |
echo "commitstring=$output" >> $GITHUB_OUTPUT | ||
- name: Restore projects cache | ||
id: cache-projects | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].2 | ||
with: | ||
path: tests/.pylint_primer_tests/ | ||
key: >- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ jobs: | |
url: https://pypi.org/project/pylint/ | ||
steps: | ||
- name: Check out code from Github | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
- name: Set up Python ${{ env.DEFAULT_PYTHON }} | ||
id: python | ||
uses: actions/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,7 @@ jobs: | |
python-key: ${{ steps.generate-python-key.outputs.key }} | ||
steps: | ||
- name: Check out code from GitHub | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
id: python | ||
uses: actions/[email protected] | ||
|
@@ -52,7 +52,7 @@ jobs: | |
$GITHUB_OUTPUT | ||
- name: Restore Python virtual environment | ||
id: cache-venv | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].2 | ||
with: | ||
path: venv | ||
key: >- | ||
|
@@ -88,7 +88,7 @@ jobs: | |
needs: tests-linux | ||
steps: | ||
- name: Check out code from GitHub | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
- name: Set up Python 3.12 | ||
id: python | ||
uses: actions/[email protected] | ||
|
@@ -97,15 +97,15 @@ jobs: | |
check-latest: true | ||
- name: Restore Python virtual environment | ||
id: cache-venv | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].2 | ||
with: | ||
path: venv | ||
fail-on-cache-miss: true | ||
key: | ||
${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{ | ||
needs.tests-linux.outputs.python-key }} | ||
- name: Download all coverage artifacts | ||
uses: actions/[email protected].2 | ||
uses: actions/[email protected].4 | ||
- name: Combine coverage results | ||
run: | | ||
. venv/bin/activate | ||
|
@@ -128,7 +128,7 @@ jobs: | |
python-version: ["3.12"] | ||
steps: | ||
- name: Check out code from GitHub | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
id: python | ||
uses: actions/[email protected] | ||
|
@@ -137,7 +137,7 @@ jobs: | |
check-latest: true | ||
- name: Restore Python virtual environment | ||
id: cache-venv | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].2 | ||
with: | ||
path: venv | ||
fail-on-cache-miss: true | ||
|
@@ -182,7 +182,7 @@ jobs: | |
# Workaround to set correct temp directory on Windows | ||
# https://github.com/actions/virtual-environments/issues/712 | ||
- name: Check out code from GitHub | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
id: python | ||
uses: actions/[email protected] | ||
|
@@ -197,7 +197,7 @@ jobs: | |
}}" >> $env:GITHUB_OUTPUT | ||
- name: Restore Python virtual environment | ||
id: cache-venv | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].2 | ||
with: | ||
path: venv | ||
key: >- | ||
|
@@ -228,7 +228,7 @@ jobs: | |
python-version: [3.8] | ||
steps: | ||
- name: Check out code from GitHub | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
id: python | ||
uses: actions/[email protected] | ||
|
@@ -243,7 +243,7 @@ jobs: | |
}}" >> $GITHUB_OUTPUT | ||
- name: Restore Python virtual environment | ||
id: cache-venv | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].2 | ||
with: | ||
path: venv | ||
key: >- | ||
|
@@ -272,7 +272,7 @@ jobs: | |
python-version: ["pypy-3.8", "pypy-3.9"] | ||
steps: | ||
- name: Check out code from GitHub | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
id: python | ||
uses: actions/[email protected] | ||
|
@@ -287,7 +287,7 @@ jobs: | |
}}" >> $GITHUB_OUTPUT | ||
- name: Restore Python virtual environment | ||
id: cache-venv | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].2 | ||
with: | ||
path: venv | ||
key: >- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.