-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
99 lines (90 loc) · 2.2 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
97
98
99
[build-system]
requires = ["poetry"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "devformer"
version = "1.0.1"
description = "DevFormer Architecture for the Decoupling Capacitor Placement Problem"
authors = ["Haeyeon Kim", "Minsu Kim", "Federico Berto", "Joungho Kim", "Jinkyoo Park"]
readme = "README.md"
license = "MIT"
repository = "https://github.com/ai4co/devformer"
packages = [{include = "src"}]
keywords = ["DPP", "DevFormer", "device placement", "hardware optimization", "ICML 2023"]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Intended Audience :: Research",
"Topic :: Scientific/Engineering :: Artificial Intelligence"
]
[tool.poetry.dependencies]
python = ">=3.9"
torch = "*"
numpy = "*"
tqdm = "*"
scipy = "*"
matplotlib = "*"
scikit-rf = "*"
wandb = "*"
rich = "*"
six = "*"
robust-downloader = "*"
black = { version = "*", optional = true }
pre-commit = { version = ">=3.3.3", optional = true }
ruff = { version = "*", optional = true }
pytest = { version = "*", optional = true }
pytest-cov = { version = "*", optional = true }
streamlit = { version = "*", optional = true }
[tool.poetry.extras]
app = ["streamlit"]
dev = ["pytest", "pytest-cov", "black", "ruff", "pre-commit"]
[tool.ruff]
select = ["F", "E", "W", "I001"]
line-length = 90
show-fixes = false
target-version = "py311"
task-tags = ["TODO", "FIXME"]
ignore = ["E501"]
[tool.ruff.per-file-ignores]
"__init__.py" = ["E402", "F401"]
[tool.ruff.isort]
known-first-party = []
known-third-party = []
section-order = [
"future",
"standard-library",
"third-party",
"first-party",
"local-folder",
]
combine-as-imports = true
split-on-trailing-comma = false
lines-between-types = 1
[tool.black]
line-length = 90
target-version = ["py311"]
include = '\.pyi?$'
exclude = '''
(
/(
\.direnv
| \.eggs
| \.git
| \.tox
| \.venv
| _build
| build
| dist
| venv
)/
)
'''
[tool.coverage.report]
show_missing = true
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.:",
]