File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,10 +50,11 @@ jobs:
5050 - uses : actions/checkout@v4
5151 - name : " Main Script"
5252 run : |
53+ EXTRA_INSTALL="mypy pytest types-colorama types-Pygments"
5354 curl -L -O https://tiker.net/ci-support-v0
5455 . ./ci-support-v0
56+
5557 build_py_project_in_conda_env
56- python -m pip install mypy
5758 ./run-mypy.sh
5859
5960 pytest :
Original file line number Diff line number Diff line change @@ -158,11 +158,10 @@ Ruff:
158158
159159Mypy :
160160 script : |
161- EXTRA_INSTALL="pybind11 numpy"
161+ EXTRA_INSTALL="mypy pybind11 numpy types-colorama types-Pygments "
162162 curl -L -O https://tiker.net/ci-support-v0
163163 . ./ci-support-v0
164164 build_py_project_in_venv
165- python -m pip install mypy
166165 ./run-mypy.sh
167166 tags :
168167 - python3
Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ def __init__(
227227 kwargs = _apply_legacy_map (self ._legacy_options_map , kwargs )
228228
229229 try :
230- import colorama # noqa
230+ import colorama # noqa: F401
231231 except ImportError :
232232 allow_terminal_colors_def = False
233233 else :
Original file line number Diff line number Diff line change @@ -168,17 +168,12 @@ module = [
168168
169169[[tool .mypy .overrides ]]
170170module = [
171+ " IPython.*" ,
172+ " fparser.*" ,
171173 " islpy.*" ,
172- " pymbolic.*" ,
173- " genpy.*" ,
174- " pyopencl.*" ,
175- " colorama.*" ,
176- " codepy.*" ,
177174 " mako.*" ,
178- " fparser.*" ,
179175 " ply.*" ,
180- " pygments.*" ,
181- " IPython.*" ,
176+ " pyopencl.*" ,
182177]
183178ignore_missing_imports = true
184179
You can’t perform that action at this time.
0 commit comments