Skip to content

Commit b1f867e

Browse files
committed
Merge remote-tracking branch 'upstream/main' into match-explore-2
2 parents dc923b7 + df3aa2a commit b1f867e

Some content is hidden

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

46 files changed

+396
-133
lines changed

.coveragerc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@ include =
77
pylint/*
88
omit =
99
*/test/*
10-
exclude_lines =
11-
# Re-enable default pragma
12-
pragma: no cover
13-
10+
exclude_also =
1411
# Debug-only code
1512
def __repr__
1613

@@ -20,3 +17,6 @@ exclude_lines =
2017

2118
# Abstract methods are not executed during pytest runs
2219
raise NotImplementedError()
20+
21+
# Fallback cases which should never be executed
22+
raise AssertionError

.github/copilot-instructions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,8 @@ script/ # Development utility scripts
191191
- `.pre-commit-config.yaml` -- Code quality checks configuration
192192
- `pylintrc` -- Pylint's own configuration
193193
- `requirements_test_min.txt` -- Minimal test dependencies
194+
- `.gitignore` do not add the 'venv' inside the .gitignore, don't commit the venv in the
195+
first place (humans add it to their global gitignore)
194196

195197
## Creating New Checkers
196198

.github/workflows/backport.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,13 @@ jobs:
2828
- uses: actions/create-github-app-token@a8d616148505b5069dccd32f177bb87d7f39123b # v2.1.1
2929
id: app-token
3030
with:
31-
app-id: ${{ vars.APP_ID }}
31+
app-id: ${{ vars.BACKPORT_APP_ID }}
3232
private-key: ${{ secrets.PRIVATE_KEY }}
3333
permission-contents: write # push branch to Github
3434
permission-pull-requests: write # create PR / add comment for manual backport
3535
permission-workflows: write # modify files in .github/workflows
36-
- uses: tibdex/backport@9565281eda0731b1d20c4025c43339fb0a23812e # v2.0.4
36+
- uses: pylint-dev/backport@94367840595495e101f9a31415897c05da1f08d9 # v2.1.1
3737
with:
3838
github_token: ${{ steps.app-token.outputs.token }}
39+
user_name: ${{ vars.BACKPORT_USER_NAME }}
40+
user_email: ${{ vars.BACKPORT_USER_EMAIL }}

.github/workflows/changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
fetch-depth: 0
2929
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
3030
id: python
31-
uses: actions/setup-python@v5.6.0
31+
uses: actions/setup-python@v6.0.0
3232
with:
3333
python-version: ${{ env.DEFAULT_PYTHON }}
3434
check-latest: true

.github/workflows/checks.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
uses: actions/[email protected]
3838
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
3939
id: python
40-
uses: actions/setup-python@v5.6.0
40+
uses: actions/setup-python@v6.0.0
4141
with:
4242
python-version: ${{ env.DEFAULT_PYTHON }}
4343
check-latest: true
@@ -92,7 +92,7 @@ jobs:
9292
uses: actions/[email protected]
9393
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
9494
id: python
95-
uses: actions/setup-python@v5.6.0
95+
uses: actions/setup-python@v6.0.0
9696
with:
9797
python-version: ${{ env.DEFAULT_PYTHON }}
9898
check-latest: true
@@ -133,7 +133,7 @@ jobs:
133133
uses: actions/[email protected]
134134
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
135135
id: python
136-
uses: actions/setup-python@v5.6.0
136+
uses: actions/setup-python@v6.0.0
137137
with:
138138
python-version: ${{ env.DEFAULT_PYTHON }}
139139
check-latest: true
@@ -162,7 +162,7 @@ jobs:
162162
uses: actions/[email protected]
163163
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
164164
id: python
165-
uses: actions/setup-python@v5.6.0
165+
uses: actions/setup-python@v6.0.0
166166
with:
167167
python-version: ${{ env.DEFAULT_PYTHON }}
168168
check-latest: true

.github/workflows/primer-test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
uses: actions/[email protected]
3939
- name: Set up Python ${{ matrix.python-version }}
4040
id: python
41-
uses: actions/setup-python@v5.6.0
41+
uses: actions/setup-python@v6.0.0
4242
with:
4343
python-version: ${{ matrix.python-version }}
4444
check-latest: true
@@ -78,7 +78,7 @@ jobs:
7878
uses: actions/[email protected]
7979
- name: Set up Python ${{ matrix.python-version }}
8080
id: python
81-
uses: actions/setup-python@v5.6.0
81+
uses: actions/setup-python@v6.0.0
8282
with:
8383
python-version: ${{ matrix.python-version }}
8484
check-latest: true

.github/workflows/primer_comment.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ env:
1616
# This needs to be the SAME as in the Main and PR job
1717
CACHE_VERSION: 4
1818
KEY_PREFIX: venv-primer
19+
# If you change this, also change PRIMER_CURRENT_INTERPRETER in
20+
# tests/testutils/_primer/test_primer.py
1921
DEFAULT_PYTHON: "3.13"
2022

2123
permissions:
@@ -33,7 +35,7 @@ jobs:
3335
uses: actions/[email protected]
3436
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
3537
id: python
36-
uses: actions/setup-python@v5.6.0
38+
uses: actions/setup-python@v6.0.0
3739
with:
3840
python-version: ${{ env.DEFAULT_PYTHON }}
3941
check-latest: true

.github/workflows/primer_run_main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
uses: actions/[email protected]
3838
- name: Set up Python ${{ matrix.python-version }}
3939
id: python
40-
uses: actions/setup-python@v5.6.0
40+
uses: actions/setup-python@v6.0.0
4141
with:
4242
python-version: ${{ matrix.python-version }}
4343
check-latest: true

.github/workflows/primer_run_pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
fetch-depth: 0
4949
- name: Set up Python ${{ matrix.python-version }}
5050
id: python
51-
uses: actions/setup-python@v5.6.0
51+
uses: actions/setup-python@v6.0.0
5252
with:
5353
python-version: ${{ matrix.python-version }}
5454
check-latest: true

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
uses: actions/[email protected]
2222
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
2323
id: python
24-
uses: actions/setup-python@v5.6.0
24+
uses: actions/setup-python@v6.0.0
2525
with:
2626
python-version: ${{ env.DEFAULT_PYTHON }}
2727
check-latest: true

0 commit comments

Comments
 (0)