chore(req): add numpy dependency

- also add numpy typing plugin to mypy
This commit is contained in:
Arthur Meyre
2021-08-09 13:56:38 +02:00
parent 371cdd5e66
commit 3f53c3320e
3 changed files with 4 additions and 1 deletions

2
mypy.ini Normal file
View File

@@ -0,0 +1,2 @@
[mypy]
plugins = numpy.typing.mypy_plugin

2
poetry.lock generated
View File

@@ -797,7 +797,7 @@ testing = ["pytest (>=4.6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytes
[metadata]
lock-version = "1.1"
python-versions = ">=3.7,<3.10"
content-hash = "11d441f0876a8ae3823fef994d552c7982d0122568acbfad3d6a0425b10260f0"
content-hash = "5e466fc94c468da8f58c9b948206b3589f2253c54f0f3f14520a0f08334fe730"
[metadata.files]
alabaster = [

View File

@@ -11,6 +11,7 @@ sphinx-rtd-theme = "^0.5.2"
myst-parser = "^0.15.1"
networkx = "^2.6.1"
matplotlib = "^3.4.2"
numpy = "^1.21.1"
[tool.poetry.dev-dependencies]
isort = "^5.9.2"