File tree Expand file tree Collapse file tree 4 files changed +1
-50
lines changed
Expand file tree Collapse file tree 4 files changed +1
-50
lines changed Original file line number Diff line number Diff line change 3131 pip install ruff
3232 ruff check
3333
34- mypy :
35- name : Mypy
36- runs-on : ubuntu-latest
37- steps :
38- - uses : actions/checkout@v4
39- - name : " Main Script"
40- run : |
41- curl -L -O https://tiker.net/ci-support-v0
42- . ./ci-support-v0
43-
44- build_py_project_in_conda_env
45- python -m pip install mypy pytest
46- ./run-mypy.sh
47-
4834 basedpyright :
4935 runs-on : ubuntu-latest
5036 steps :
Original file line number Diff line number Diff line change 9696 except :
9797 - tags
9898
99- Mypy :
100- script : |
101- EXTRA_INSTALL="mypy pytest"
102-
103- curl -L -O https://tiker.net/ci-support-v0
104- . ./ci-support-v0
105-
106- build_py_project_in_venv
107- ./run-mypy.sh
108- tags :
109- - python3
110- except :
111- - tags
112-
11399Downstream :
114100 parallel :
115101 matrix :
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ pytato = [
4747 " pytato>=2021.1" ,
4848]
4949test = [
50- " mypy " ,
50+ " basedpyright " ,
5151 " pytest" ,
5252 " ruff" ,
5353]
@@ -119,24 +119,6 @@ required-imports = ["from __future__ import annotations"]
119119# from @dataclass_array_container.
120120"test/test_utils.py" = [" I002" ]
121121
122- [tool .mypy ]
123- python_version = " 3.10"
124- warn_unused_ignores = true
125- # TODO: enable this
126- # check_untyped_defs = true
127-
128- [[tool .mypy .overrides ]]
129- module = [
130- " islpy.*" ,
131- " loopy.*" ,
132- " meshmode.*" ,
133- " pymbolic" ,
134- " pymbolic.*" ,
135- " pyopencl.*" ,
136- " jax.*" ,
137- ]
138- ignore_missing_imports = true
139-
140122[tool .typos .default ]
141123extend-ignore-re = [
142124 " (?Rm)^.*(#|//)\\ s*spellchecker:\\ s*disable-line$"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments