aboutsummaryrefslogtreecommitdiff
path: root/mypy.ini
diff options
context:
space:
mode:
authorMunyoki Kilyungi2022-10-11 12:06:05 +0300
committerBonfaceKilz2022-11-02 17:36:22 +0300
commit97fa5c174d15858f7466190d7707a36486c19fbe (patch)
tree9d0b8d443d8af3866960c53a5c9106afdb515ba3 /mypy.ini
parentfaf2739d30decda1e0ba46699ebec776ef7d3e0d (diff)
downloadgenenetwork3-97fa5c174d15858f7466190d7707a36486c19fbe.tar.gz
Add type stubs for Maybe
This allows Maybe[T] to be used as a type. Both Nothing and Just are of type Maybe. * mypy.ini: Add default location for stub files. * stubs/pymonad/__init__.pyi: New file. * stubs/pymonad/maybe.pyi: Ditto.
Diffstat (limited to 'mypy.ini')
-rw-r--r--mypy.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/mypy.ini b/mypy.ini
index 4465656..58f0f88 100644
--- a/mypy.ini
+++ b/mypy.ini
@@ -1,4 +1,5 @@
[mypy]
+mypy_path = stubs
[mypy-scipy.*]
ignore_missing_imports = True