File tree Expand file tree Collapse file tree 2 files changed +31
-1
lines changed Expand file tree Collapse file tree 2 files changed +31
-1
lines changed Original file line number Diff line number Diff line change 22
22
with :
23
23
args : ' format --check --verbose'
24
24
25
+ mypy-python :
26
+ name : Check Python static typing
27
+ runs-on : ubuntu-latest
28
+ steps :
29
+ - id : checkout
30
+ name : Checkout
31
+ uses : actions/checkout@v4
32
+
33
+ - id : install-uv
34
+ name : Install uv
35
+ uses : astral-sh/setup-uv@v6
36
+ with :
37
+ version : " latest"
38
+ enable-cache : true
39
+ cache-dependency-glob : ' **/pyproject.toml'
40
+
41
+ - id : install-python
42
+ name : Install Python
43
+ run : uv python install 3.13
44
+
45
+ - id : install-python-dependencies
46
+ name : Install Python dependencies
47
+ run : uv sync --extra mypy
48
+
49
+ - id : mypy
50
+ name : Run mypy
51
+ run : uv run mypy ./ --ignore-missing-imports
52
+
25
53
test-python :
26
54
name : " Test Python"
27
55
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -62,7 +62,9 @@ dev = [
62
62
" pytest" ,
63
63
" pytest-django" ,
64
64
]
65
-
65
+ mypy = [
66
+ " mypy" ,
67
+ ]
66
68
docs = [
67
69
" sphinx" ,
68
70
" sphinx-autobuild" ,
You can’t perform that action at this time.
0 commit comments