-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
87 lines (76 loc) · 1.69 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
[tool.poetry]
name = "deepstruct"
version = "0.11.0-dev"
description = ""
authors = [
"Julian Stier <[email protected]>"
]
license = "MIT"
include = [
"pyproject.toml",
"README.md"
]
readme = "README.md"
homepage = "https://github.com/innvariant/deepstruct"
repository = "https://github.com/innvariant/deepstruct"
documentation = "https://deepstruct.readthedocs.io"
keywords = ["neural network", "sparsity", "machine learning", "structure", "graph", "training"]
[tool.poetry.dependencies]
python = "^3.9,<4.0"
torch = "^2"
networkx = "^2.0"
importlib-metadata = "^4.4"
importlib-resources = "^5.0"
semantic_version = "^2.10"
deprecated = "^1.2.10"
numpy = "^1.21"
tqdm = "^4.66.1"
[tool.poetry.dev-dependencies]
black = "^22.3.0"
matplotlib = { version = "^3.3" }
pre-commit = "^2.3.0"
pytest = "^7.1"
pytest-mock = "^3.0"
pyfakefs = "^4.0.2"
torchvision = "^0.17"
mkdocs = "^1.1.2"
[tool.poetry.group.dev.dependencies]
scipy = "^1.13.0"
[tool.isort]
profile = "black"
line_length = 88
force_single_line = true
atomic = true
include_trailing_comma = true
lines_after_imports = 2
lines_between_types = 1
multi_line_output = 3
use_parentheses = true
filter_files = true
src_paths = ["deepstruct", "tests"]
skip_glob = ["*/setup.py", "res/"]
known_first_party = "deepstruct"
known_third_party = ["importlib_metadata", "importlib_resources", "pyfakefs", "pytest", "semantic_version", "torch" ]
[tool.black]
line-length = 88
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| res
| build
| dist
| tests/cache/
| tests/.*/setup.py
)/
'''
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"