Skip to content

Commit e21d510

Browse files
committed
🔧 .mypyignore cleanup
1 parent e6cbe91 commit e21d510

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

‎.mypyignore

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,29 @@ scipy\.stats\._rcont\.rcont
2121
scipy\.special\._precompute\..*
2222

2323
# workarounds for mypy bugs
24-
scipy\.(_lib|integrate|stats)\.((_|\w)+\.)+__replace__ # `NamedTuple` on `python >= 3.13`
25-
26-
# stubtest doesn't understand `if sys.version_info >= _: ...` blocks
27-
scipy\.sparse\.(\w+)\.warn
24+
scipy\.(_lib|integrate|stats)\.((_|\w)+\.)+__replace__ # `NamedTuple` on `python>=3.13`
25+
scipy\.sparse\.(\w+)\.warn # all `if sys.version_info` branches are checked...?
2826

2927
# annoying and useless __new__
3028
scipy\.stats\.(_new_distributions\.)?Normal\.__new__
3129

3230
# mypy fails recognize type-check-only ufunc subtypes as ufuncs
31+
# https://github.com/KotlinIsland/basedmypy/issues/815
3332
# https://github.com/KotlinIsland/basedmypy/issues/816
34-
scipy\.special\._basic\.digamma
35-
scipy\.special\._support_alternative_backends\..*
3633
scipy\.stats\._qmvnt\.phi(nv)?
37-
38-
# https://github.com/KotlinIsland/basedmypy/issues/815
39-
scipy\.special\._ufuncs\._(hypergeom|nbinom|nc(f|t))_(mean|variance|skewness|kurtosis_excess)
34+
scipy\.special\._basic\.digamma
35+
scipy\.special\._support_alternative_backends\.betaincc?
36+
scipy\.special\._support_alternative_backends\.gamma(incc?|ln)
37+
scipy\.special\._support_alternative_backends\.(rel_)?entr
38+
scipy\.special\._support_alternative_backends\.erfc?
39+
scipy\.special\._support_alternative_backends\.(exp|log)it
40+
scipy\.special\._support_alternative_backends\.i(0|1)e?
41+
scipy\.special\._support_alternative_backends\.xlogy
42+
scipy\.special\._support_alternative_backends\.chdtrc?
43+
scipy\.special\._support_alternative_backends\.(log_)?ndtri?
44+
scipy\.special\._support_alternative_backends\.stdtr
4045
scipy\.special\._ufuncs\._(hypergeom|n?binom)_(pm|cd|pp|i?s)f
46+
scipy\.special\._ufuncs\._(hypergeom|nbinom|nc(f|t))_(mean|variance|skewness|kurtosis_excess)
4147
scipy\.special\._ufuncs\._(beta|cauchy|invgauss|landau|nc(f|t|x2)|skewnorm)_(pd|cd|pp|i?s)f
4248
scipy\.special\._ufuncs\._cosine_(inv)?cdf
4349
scipy\.special\._ufuncs\._(cos|sin)pi

0 commit comments

Comments
 (0)