@@ -33,7 +33,7 @@ dependencies = [
33
33
]
34
34
35
35
[dependency-groups ]
36
- scipy = [" scipy==1.15.0rc2 " ]
36
+ extras = [" scipy-stubs[scipy] " ]
37
37
ci = [" packaging>=24.2" ]
38
38
codegen = [" libcst>=1.5.1,<2" ]
39
39
mdformat = [
@@ -42,13 +42,13 @@ mdformat = [
42
42
" mdformat-gfm-alerts>=1.0.1" ,
43
43
]
44
44
lint = [
45
- {include-group = " scipy " },
45
+ {include-group = " extras " },
46
46
{include-group = " mdformat" },
47
47
" ruff>=0.8.4" ,
48
48
" sp-repo-review[cli]>=2024.8.19" ,
49
49
]
50
50
typecheck = [
51
- {include-group = " scipy " },
51
+ {include-group = " extras " },
52
52
{include-group = " ci" },
53
53
{include-group = " codegen" },
54
54
" basedmypy[faster-cache]>=2.8.1" ,
@@ -85,6 +85,11 @@ rm -rf
85
85
codegen/__pycache__
86
86
scipy-stubs/**/*.pyc
87
87
scipy-stubs/**/__pycache__
88
+ scripts/*.pyc
89
+ scripts/__pycache__
90
+ tests/**/*.pyc
91
+ tests/**/__pycache__
92
+ ./**/.cache
88
93
./**/.mypy_cache
89
94
./**/.ruff_cache
90
95
./**/.tox
@@ -151,7 +156,7 @@ args = [
151
156
]
152
157
153
158
[tool .typos .files ]
154
- extend-exclude = [" *.pyi" ]
159
+ extend-exclude = [" *.pyi" , " .mypyignore " ]
155
160
156
161
[tool .mypy ]
157
162
python_version = " 3.10"
@@ -165,7 +170,7 @@ enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
165
170
plugins = [" numpy.typing.mypy_plugin" ]
166
171
167
172
[tool .pyright ]
168
- include = [" codegen" , " scipy-stubs " , " tests" ]
173
+ include = [" scipy-stubs " , " codegen" , " scripts " , " tests" ]
169
174
ignore = [" .venv" ]
170
175
venv = " .venv"
171
176
venvPath = " ."
0 commit comments