Skip to content

Commit da4074e

Browse files
committed
Merge branch 'main' of https://github.com/PyCQA/pylint into next
2 parents a3b1d06 + 0ff2cb5 commit da4074e

Some content is hidden

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

42 files changed

+325
-120
lines changed

.github/workflows/changelog.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
timeout-minutes: 10
2222
steps:
2323
- name: Check out code from GitHub
24-
uses: actions/checkout@v3.2.0
24+
uses: actions/checkout@v3.3.0
2525
with:
2626
# `towncrier check` runs `git diff --name-only origin/main...`, which
2727
# needs a non-shallow clone.
@@ -40,7 +40,7 @@ jobs:
4040
'requirements_test_min.txt') }}" >> $GITHUB_OUTPUT
4141
- name: Restore Python virtual environment
4242
id: cache-venv
43-
uses: actions/[email protected].2
43+
uses: actions/[email protected].3
4444
with:
4545
path: venv
4646
key: >-

.github/workflows/checks.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
pre-commit-key: ${{ steps.generate-pre-commit-key.outputs.key }}
3434
steps:
3535
- name: Check out code from GitHub
36-
uses: actions/checkout@v3.2.0
36+
uses: actions/checkout@v3.3.0
3737
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
3838
id: python
3939
uses: actions/[email protected]
@@ -48,7 +48,7 @@ jobs:
4848
'requirements_test_min.txt') }}" >> $GITHUB_OUTPUT
4949
- name: Restore Python virtual environment
5050
id: cache-venv
51-
uses: actions/[email protected].2
51+
uses: actions/[email protected].3
5252
with:
5353
path: venv
5454
key: >-
@@ -69,7 +69,7 @@ jobs:
6969
hashFiles('.pre-commit-config.yaml') }}" >> $GITHUB_OUTPUT
7070
- name: Restore pre-commit environment
7171
id: cache-precommit
72-
uses: actions/[email protected].2
72+
uses: actions/[email protected].3
7373
with:
7474
path: ${{ env.PRE_COMMIT_CACHE }}
7575
key: >-
@@ -87,7 +87,7 @@ jobs:
8787
needs: prepare-base
8888
steps:
8989
- name: Check out code from GitHub
90-
uses: actions/checkout@v3.2.0
90+
uses: actions/checkout@v3.3.0
9191
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
9292
id: python
9393
uses: actions/[email protected]
@@ -96,7 +96,7 @@ jobs:
9696
check-latest: true
9797
- name: Restore Python virtual environment
9898
id: cache-venv
99-
uses: actions/[email protected].2
99+
uses: actions/[email protected].3
100100
with:
101101
path: venv
102102
key:
@@ -109,7 +109,7 @@ jobs:
109109
exit 1
110110
- name: Restore pre-commit environment
111111
id: cache-precommit
112-
uses: actions/[email protected].2
112+
uses: actions/[email protected].3
113113
with:
114114
path: ${{ env.PRE_COMMIT_CACHE }}
115115
key: ${{ runner.os }}-${{ needs.prepare-base.outputs.pre-commit-key }}
@@ -136,7 +136,7 @@ jobs:
136136
needs: prepare-base
137137
steps:
138138
- name: Check out code from GitHub
139-
uses: actions/checkout@v3.2.0
139+
uses: actions/checkout@v3.3.0
140140
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
141141
id: python
142142
uses: actions/[email protected]
@@ -145,7 +145,7 @@ jobs:
145145
check-latest: true
146146
- name: Restore Python virtual environment
147147
id: cache-venv
148-
uses: actions/[email protected].2
148+
uses: actions/[email protected].3
149149
with:
150150
path: venv
151151
key:
@@ -168,7 +168,7 @@ jobs:
168168
needs: prepare-base
169169
steps:
170170
- name: Check out code from GitHub
171-
uses: actions/checkout@v3.2.0
171+
uses: actions/checkout@v3.3.0
172172
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
173173
id: python
174174
uses: actions/[email protected]
@@ -177,7 +177,7 @@ jobs:
177177
check-latest: true
178178
- name: Restore Python virtual environment
179179
id: cache-venv
180-
uses: actions/[email protected].2
180+
uses: actions/[email protected].3
181181
with:
182182
path: venv
183183
key:

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242

4343
steps:
4444
- name: Checkout repository
45-
uses: actions/checkout@v3.2.0
45+
uses: actions/checkout@v3.3.0
4646

4747
# Initializes the CodeQL tools for scanning.
4848
- name: Initialize CodeQL

.github/workflows/primer-test.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
python-key: ${{ steps.generate-python-key.outputs.key }}
3636
steps:
3737
- name: Check out code from GitHub
38-
uses: actions/checkout@v3.2.0
38+
uses: actions/checkout@v3.3.0
3939
- name: Set up Python ${{ matrix.python-version }}
4040
id: python
4141
uses: actions/[email protected]
@@ -50,7 +50,7 @@ jobs:
5050
'requirements_test_min.txt') }}" >> $GITHUB_OUTPUT
5151
- name: Restore Python virtual environment
5252
id: cache-venv
53-
uses: actions/[email protected].2
53+
uses: actions/[email protected].3
5454
with:
5555
path: venv
5656
key: >-
@@ -74,7 +74,7 @@ jobs:
7474
python-version: [3.8, 3.9, "3.10", "3.11"]
7575
steps:
7676
- name: Check out code from GitHub
77-
uses: actions/checkout@v3.2.0
77+
uses: actions/checkout@v3.3.0
7878
- name: Set up Python ${{ matrix.python-version }}
7979
id: python
8080
uses: actions/[email protected]
@@ -83,7 +83,7 @@ jobs:
8383
check-latest: true
8484
- name: Restore Python virtual environment
8585
id: cache-venv
86-
uses: actions/[email protected].2
86+
uses: actions/[email protected].3
8787
with:
8888
path: venv
8989
key:
@@ -110,7 +110,7 @@ jobs:
110110
python-version: [3.8, 3.9, "3.10", "3.11"]
111111
steps:
112112
- name: Check out code from GitHub
113-
uses: actions/checkout@v3.2.0
113+
uses: actions/checkout@v3.3.0
114114
- name: Set up Python ${{ matrix.python-version }}
115115
id: python
116116
uses: actions/[email protected]
@@ -119,7 +119,7 @@ jobs:
119119
check-latest: true
120120
- name: Restore Python virtual environment
121121
id: cache-venv
122-
uses: actions/[email protected].2
122+
uses: actions/[email protected].3
123123
with:
124124
path: venv
125125
key:

.github/workflows/primer_comment.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ jobs:
2929
name: Run
3030
runs-on: ubuntu-latest
3131
steps:
32-
- uses: actions/setup-node@v3.5.1
32+
- uses: actions/setup-node@v3.6.0
3333
with:
3434
node-version: 16
3535
- run: npm install @octokit/rest
3636
- name: Check out code from GitHub
37-
uses: actions/checkout@v3.2.0
37+
uses: actions/checkout@v3.3.0
3838
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
3939
id: python
4040
uses: actions/[email protected]
@@ -45,7 +45,7 @@ jobs:
4545
# Restore cached Python environment
4646
- name: Restore Python virtual environment
4747
id: cache-venv
48-
uses: actions/[email protected].2
48+
uses: actions/[email protected].3
4949
with:
5050
path: venv
5151
key:

.github/workflows/primer_run_main.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
python-version: ["3.7", "3.11"]
3333
steps:
3434
- name: Check out code from GitHub
35-
uses: actions/checkout@v3.2.0
35+
uses: actions/checkout@v3.3.0
3636
- name: Set up Python ${{ matrix.python-version }}
3737
id: python
3838
uses: actions/[email protected]
@@ -43,7 +43,7 @@ jobs:
4343
# Create a re-usable virtual environment
4444
- name: Create Python virtual environment cache
4545
id: cache-venv
46-
uses: actions/[email protected].2
46+
uses: actions/[email protected].3
4747
with:
4848
path: venv
4949
key:
@@ -68,7 +68,7 @@ jobs:
6868
echo "commitstring=$output" >> $GITHUB_OUTPUT
6969
- name: Restore projects cache
7070
id: cache-projects
71-
uses: actions/[email protected].2
71+
uses: actions/[email protected].3
7272
with:
7373
path: tests/.pylint_primer_tests/
7474
key: >-
@@ -79,7 +79,7 @@ jobs:
7979
. venv/bin/activate
8080
python tests/primer/__main__.py prepare --clone
8181
- name: Upload output diff
82-
uses: actions/[email protected].1
82+
uses: actions/[email protected].2
8383
with:
8484
name: primer_commitstring
8585
path:
@@ -96,7 +96,7 @@ jobs:
9696
then echo "::warning ::$WARNINGS"
9797
fi
9898
- name: Upload output
99-
uses: actions/[email protected].1
99+
uses: actions/[email protected].2
100100
with:
101101
name: primer_output
102102
path: >-

.github/workflows/primer_run_pr.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
python-version: ["3.7", "3.11"]
4242
steps:
4343
- name: Check out code from GitHub
44-
uses: actions/checkout@v3.2.0
44+
uses: actions/checkout@v3.3.0
4545
with:
4646
fetch-depth: 0
4747
- name: Set up Python ${{ matrix.python-version }}
@@ -50,15 +50,15 @@ jobs:
5050
with:
5151
python-version: ${{ matrix.python-version }}
5252
check-latest: true
53-
- uses: actions/setup-node@v3.5.1
53+
- uses: actions/setup-node@v3.6.0
5454
with:
5555
node-version: 16
5656
- run: npm install @octokit/rest
5757

5858
# Restore cached Python environment
5959
- name: Restore Python virtual environment
6060
id: cache-venv
61-
uses: actions/[email protected].2
61+
uses: actions/[email protected].3
6262
with:
6363
path: venv
6464
key:
@@ -137,7 +137,7 @@ jobs:
137137
echo "commitstring=$output" >> $GITHUB_OUTPUT
138138
- name: Restore projects cache
139139
id: cache-projects
140-
uses: actions/[email protected].2
140+
uses: actions/[email protected].3
141141
with:
142142
path: tests/.pylint_primer_tests/
143143
key: >-
@@ -167,14 +167,14 @@ jobs:
167167
then echo "::warning ::$WARNINGS"
168168
fi
169169
- name: Upload output of PR
170-
uses: actions/[email protected].1
170+
uses: actions/[email protected].2
171171
with:
172172
name: primer_output_pr
173173
path:
174174
tests/.pylint_primer_tests/output_${{ steps.python.outputs.python-version
175175
}}_pr.txt
176176
- name: Upload output of 'main'
177-
uses: actions/[email protected].1
177+
uses: actions/[email protected].2
178178
with:
179179
name: primer_output_main
180180
path: output_${{ steps.python.outputs.python-version }}_main.txt
@@ -184,7 +184,7 @@ jobs:
184184
run: |
185185
echo ${{ github.event.pull_request.number }} | tee pr_number.txt
186186
- name: Upload PR number
187-
uses: actions/[email protected].1
187+
uses: actions/[email protected].2
188188
with:
189189
name: pr_number
190190
path: pr_number.txt

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
url: https://pypi.org/project/pylint/
2121
steps:
2222
- name: Check out code from Github
23-
uses: actions/checkout@v3.2.0
23+
uses: actions/checkout@v3.3.0
2424
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
2525
id: python
2626
uses: actions/[email protected]

0 commit comments

Comments
 (0)