Skip to content

Commit b32fda7

Browse files
committed
Fire mypy from CI
1 parent 134c66b commit b32fda7

File tree

4 files changed

+0
-49
lines changed

4 files changed

+0
-49
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -55,24 +55,6 @@ jobs:
5555
5656
run_pylint pymbolic test/test_*.py
5757
58-
mypy:
59-
name: Mypy
60-
runs-on: ubuntu-latest
61-
steps:
62-
- uses: actions/checkout@v4
63-
-
64-
uses: actions/setup-python@v5
65-
with:
66-
python-version: '3.x'
67-
- name: "Main Script"
68-
run: |
69-
curl -L -O https://tiker.net/ci-support-v0
70-
. ./ci-support-v0
71-
build_py_project_in_venv
72-
pip install -e .[test]
73-
python -m pip install mypy numpy
74-
./run-mypy.sh
75-
7658
basedpyright:
7759
runs-on: ubuntu-latest
7860

.gitlab-ci.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,6 @@ Pylint:
4040
except:
4141
- tags
4242

43-
Mypy:
44-
script: |
45-
curl -L -O https://tiker.net/ci-support-v0
46-
. ./ci-support-v0
47-
build_py_project_in_venv
48-
pip install -e .[test]
49-
python -m pip install mypy numpy
50-
./run-mypy.sh
51-
tags:
52-
- python3
53-
except:
54-
- tags
55-
5643
Documentation:
5744
script:
5845
- EXTRA_INSTALL="numpy sympy"

pyproject.toml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ numpy = [
4040
"numpy>=1.6",
4141
]
4242
test = [
43-
"mypy",
4443
"pytest",
4544
"ruff",
4645
# only needed for type checking
@@ -103,20 +102,6 @@ lines-after-imports = 2
103102
combine-as-imports = true
104103
required-imports = ["from __future__ import annotations"]
105104

106-
[tool.mypy]
107-
python_version = "3.10"
108-
warn_unused_ignores = true
109-
110-
[[tool.mypy.overrides]]
111-
module = [
112-
"sympy.*",
113-
"symengine.*",
114-
"matchpy.*",
115-
"multiset.*",
116-
"pexpect.*",
117-
]
118-
ignore_missing_imports = true
119-
120105
[tool.basedpyright]
121106
reportImplicitStringConcatenation = "none"
122107
reportUnnecessaryIsInstance = "none"

run-mypy.sh

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

0 commit comments

Comments
 (0)