-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
96 lines (83 loc) · 1.96 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
[tool.poetry]
name = "tnpy"
version = "0.1.1a3"
description = "Tensor Network algorithms implemented in python."
authors = ["Tan Tao-Lin <tanlin2013@gmail.com>"]
homepage = "https://github.com/tanlin2013/tnpy"
documentation = "https://tanlin2013.github.io/tnpy/"
license = "MIT"
readme = "README.md"
keywords = ["tensornetwork", "quantum-mechanics", "quantum-algorithms"]
[tool.poetry.dependencies]
python = ">=3.9, <3.11"
toml = "^0.10.2"
tqdm = "^4.63.0"
numpy = "^1.22"
scipy = ">=1.1, <2.0"
primme = "3.2.1"
h5py = ">=3.6, <4.0"
graphviz = "0.20.1"
tensornetwork = "0.4.6"
numba = "^0.56.4"
llvmlite = "^0.39.1"
autoray = "^0.6.0"
quimb = "1.4.0"
mkl-devel = { version = "2023.0.0", optional = true }
matplotlib = { version ="^3.5.2", optional = true }
networkx = { version ="^3.0", optional = true }
[tool.poetry.extras]
mkl = ["mkl-devel"] # (https://github.com/tanlin2013/tnpy/issues/5)
drawing = ["matplotlib", "networkx"]
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.0.0"
commitizen = "^2.35.0"
vulture = "^2.4"
bandit = "^1.7.4"
safety = "^2.3.4"
isort = "^5.11.0"
flake8-bugbear = "^23.1.14"
Flake8-pyproject = "^1.2.2"
black = "^23.1.0"
mypy = "^1.0.0"
ipython = "^8.5.0"
pytest = "^7.1.2"
pytest-cov = "^4.0.0"
pytest-mock = "^3.9.0"
pep8-naming = "^0.13.0"
cruft = "^2.12.0"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
sphinx = "^4.5.0"
sphinx-book-theme = "^0.3.2"
nbsphinx = "^0.8.8"
m2r2 = "^0.3.2"
pandoc = "^2.3"
#portray = "^1.3.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 100
[tool.isort]
profile = "black"
[tool.flake8]
count = true
max-line-length = 100
ignore = [
"E203",
"W503",
"N803",
"N806"
]
[tool.mypy]
ignore_missing_imports = true
strict_optional = false
plugins = ["numpy.typing.mypy_plugin"]
[tool.coverage.report]
exclude_lines = ["pragma: no cover"]
omit = ["*tests*"]
[tool.bandit]
skips = ["B101"]
[tool.cruft]
skip = []