Skip to content

Commit 732847d

Browse files
committed
remove mypy
1 parent c1b0465 commit 732847d

File tree

4 files changed

+1
-70
lines changed

4 files changed

+1
-70
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,6 @@ repos:
2828
language: unsupported
2929
types: [python]
3030

31-
- id: local-mypy
32-
name: mypy check
33-
entry: uv run mypy sqlmodel tests/test_select_typing.py
34-
require_serial: true
35-
language: unsupported
36-
pass_filenames: false
37-
3831
- id: local-ty
3932
name: ty check
4033
entry: uv run ty check sqlmodel

pyproject.toml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ tests = [
8181
"fastapi>=0.128.0",
8282
"httpx==0.28.1",
8383
"jinja2==3.1.6",
84-
"mypy==1.19.1",
8584
"pre-commit>=2.17.0,<5.0.0",
8685
"pytest>=7.0.1,<10.0.0",
8786
"ruff==0.15.5",
@@ -126,16 +125,6 @@ exclude_lines = [
126125
[tool.coverage.html]
127126
show_contexts = true
128127

129-
[tool.mypy]
130-
strict = true
131-
exclude = "sqlmodel.sql._expression_select_gen"
132-
133-
[[tool.mypy.overrides]]
134-
module = "docs_src.*"
135-
disallow_incomplete_defs = false
136-
disallow_untyped_defs = false
137-
disallow_untyped_calls = false
138-
139128
[tool.ruff.lint]
140129
select = [
141130
"E", # pycodestyle errors

scripts/lint.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
set -e
44
set -x
55

6-
mypy sqlmodel
7-
mypy tests/test_select_typing.py
86
ty check sqlmodel
7+
ty check tests/test_select_typing.py
98
ruff check sqlmodel tests docs_src scripts
109
ruff format sqlmodel tests docs_src scripts --check

uv.lock

Lines changed: 0 additions & 50 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)