Skip to content

Commit 2d75c85

Browse files
committed
šŸ› sparse: add missing sparse array/matrix inplace dunder methods
1 parent 70531c8 commit 2d75c85

File tree

2 files changed

+120
-131
lines changed

2 files changed

+120
-131
lines changed

ā€Ž.mypyignore

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,14 @@ scipy\.fftpack\.(_?helper\.)?fftfreq
1414

1515
# accidental implicit exports of internal scipy machinery
1616
scipy\._lib\.decorator\.(DEF|ArgSpec|FunctionMaker|__init__|append|dispatch_on|get_init|getargspec|init|n_args)
17-
scipy\.special\._precompute\..* # TODO??
1817
scipy\.special\.libsf_error_state
1918
scipy\.stats\._rcont\.rcont
2019

20+
# why is this even included in the wheels?
21+
scipy\.special\._precompute\..*
22+
2123
# omitted methods that always return `NotImplemented` or always raise
22-
scipy\.sparse\._(\w+)\._(\w+)\.__(len|i(add|mul|sub)|(i|r)(true)?div)__
24+
# scipy\.sparse\._(\w+)\._(\w+)\.__(len|i(add|mul|sub)|(i|r)(true)?div)__
2325

2426
# workarounds for mypy bugs
2527
scipy\.signal\._short_time_fft\.(FFT_MODE_TYPE|PAD_TYPE) # `Literal[...] != def (*, **)`

0 commit comments

Comments
Ā (0)