Skip to content

Commit dd0c0ef

Browse files
committed
Do not run pylint on 3.12
1 parent 75c3a9c commit dd0c0ef

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ jobs:
5353
# We avoid "--upgrade" as we do version tests for the "pip" dependency.
5454
python -m pip install --ignore-installed --editable .[dev]
5555
56-
- name: "Lint"
56+
# Separate Pylint as it fails on Python 3.12 for unrelated reasons.
57+
- name: "Lint without pylint"
5758
run: |
5859
mypy .
5960
ruff .
@@ -62,6 +63,11 @@ jobs:
6263
pip-extra-reqs pip_check_reqs
6364
pip-missing-reqs pip_check_reqs
6465
66+
- name: "Lint pylint"
67+
if: matrix.python-version != '3.12-dev'
68+
run: |
69+
pylint pip_check_reqs tests
70+
6571
- name: "Run tests"
6672
run: |
6773
pytest -s -vvv --cov-fail-under 100 --cov=pip_check_reqs/ --cov=tests tests/ --cov-report=xml

0 commit comments

Comments
 (0)