Skip to content

Commit 83a0be3

Browse files
author
Liu Xue Yan
committed
ci: update mypy to v1.13.0 and add PyPy support
- Update mypy version from v1.12.1 to v1.13.0 in pre-commit configuration - Add PyPy3.9 and PyPy3.10 to the list of Python versions for testing
1 parent 93a07a4 commit 83a0be3

File tree

3 files changed

+25
-2
lines changed

3 files changed

+25
-2
lines changed

.dockerignore

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
.git/
2+
3+
**/__pycache__
4+
*.egg-info
5+
*.egg/
6+
*.pyc
7+
8+
build
9+
dist
10+
docs/_build
11+
12+
.mypy_cache/
13+
.ruff_cache
14+
15+
*.swp
16+
17+
html/*
18+
19+
**/Dockerfile
20+
**/Dockerfile.*
21+
**/*.Dockerfile
22+
**/docker-compose.*
23+
**/*.docker-compose.*

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ repos:
2929
types_or: [python, pyi, jupyter]
3030

3131
- repo: https://github.com/pre-commit/mirrors-mypy
32-
rev: "v1.12.1"
32+
rev: "v1.13.0"
3333
hooks:
3434
- id: mypy
3535
args: [--ignore-missing-imports, --config-file, .mypy.ini]

tests/run-compose-test.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export PIP_DISABLE_PIP_VERSION_CHECK=1
55
export PIP_ROOT_USER_ACTION=ignore
66
export PIP_NO_WARN_SCRIPT_LOCATION=1
77

8-
PYTHON_LIST=(python3.8 python3.9 python3.10 python3.11 python3.12 python3.13)
8+
PYTHON_LIST=(python3.8 python3.9 python3.10 python3.11 python3.12 python3.13 pypy3.9 pypy3.10)
99
for PYTHON in ${PYTHON_LIST[@]}
1010
do
1111
echo

0 commit comments

Comments
 (0)