Skip to content

Commit 561ac08

Browse files
committed
Fire mypy
1 parent f6c8f99 commit 561ac08

File tree

4 files changed

+1
-50
lines changed

4 files changed

+1
-50
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,6 @@ jobs:
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:

.gitlab-ci.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -96,20 +96,6 @@ Ruff:
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-
11399
Downstream:
114100
parallel:
115101
matrix:

pyproject.toml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ pytato = [
4747
"pytato>=2021.1",
4848
]
4949
test = [
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]
141123
extend-ignore-re = [
142124
"(?Rm)^.*(#|//)\\s*spellchecker:\\s*disable-line$"

run-mypy.sh

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)