Skip to content

Commit 3990c5b

Browse files
committed
Use scipy-stubs
1 parent 9588834 commit 3990c5b

File tree

6 files changed

+1
-221
lines changed

6 files changed

+1
-221
lines changed

mypy.ini

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,3 @@ exclude = .*(build)/.*
2222
; Auto-generated code, not much we can do there
2323
[mypy-gen.*]
2424
disable_error_code = attr-defined, arg-type
25-
26-
; Of course my stubs are going to be incomplete. Otherwise they'd be on typeshed!
27-
; Mypy becomes really whack with its errors inside these stubs though
28-
[mypy-scipy.*]
29-
disable_error_code = attr-defined, import-untyped

scripts/requirements-dev.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
ruff>=0.6.9 # Pre-commit fix # Must match .pre-commit-config.yaml
1616
#
1717
# Types
18+
scipy-stubs>=1.14.1.1
1819
types-keyboard
1920
types-psutil
2021
types-PyAutoGUI

typings/scipy/__init__.pyi

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

typings/scipy/fft/__init__.pyi

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

typings/scipy/fft/_realtransforms.pyi

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

typings/scipy/py.typed

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)