-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
117 lines (105 loc) · 2.73 KB
/
pyproject.toml
File metadata and controls
117 lines (105 loc) · 2.73 KB
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
[build-system]
requires = ["setuptools>=68.0.0", "wheel>=0.40.0"]
build-backend = "setuptools.build_meta"
[project]
name = "opennandlab"
version = "2.0.0"
description = "Open-Source SSD Controller & 3D NAND Research Platform"
readme = "README.md"
authors = [{ name = "Mudit Bhargava", email = "muditbhargava666@gmail.com" }]
license = { file = "LICENSE" }
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
keywords = [
"3D NAND",
"NAND flash",
"flash storage",
"SSD",
"simulator",
"FTL",
"wear leveling",
"error correction",
"ECC",
"LDPC",
"BCH"
]
requires-python = ">=3.10, <3.14"
dependencies = [
"numpy>=1.26.0",
"pandas>=2.0.0",
"PyYAML>=6.0",
"pydantic>=2.0.0",
"matplotlib>=3.7.0",
"seaborn>=0.12.0",
"scipy>=1.10.0",
"lz4>=4.3.2",
"zstd>=1.5.5.0",
"jsonschema>=4.17.3",
"click>=8.0.0",
"streamlit>=1.28.0",
"plotly>=5.18.0",
"methodtools>=0.4.7"
]
[project.urls]
"Homepage" = "https://github.com/muditbhargava66/OpenNANDLab"
"Bug Tracker" = "https://github.com/muditbhargava66/OpenNANDLab/issues"
"Documentation" = "https://github.com/muditbhargava66/OpenNANDLab"
"Source Code" = "https://github.com/muditbhargava66/OpenNANDLab"
[project.optional-dependencies]
dev = [
"tox>=4.0",
"pre-commit>=3.0",
"mypy>=1.8.0",
"ruff>=0.4.2",
"pytest-cov>=5.0",
"hypothesis>=6.98.0",
"uv>=0.1.0"
]
[project.scripts]
"opennandlab" = "opennandlab.cli:main"
[tool.setuptools]
packages = ["opennandlab"]
package-dir = {"" = "src"}
[tool.setuptools.package-data]
"opennandlab" = ["resources/*", "data/*"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"raise NotImplementedError",
"if __name__ == .__main__.:"
]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.ruff]
line-length = 160
target-version = "py310"
[tool.ruff.lint]
ignore = ["W293", "W291", "F841", "N803", "N806", "B904", "B017", "C901", "E402", "E722", "F401", "N802", "I001"]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"W", # pycodestyle warnings
"C90", # mccabe
"I", # isort
"N", # pep8-naming
"B", # flake8-bugbear
]
[tool.ruff.lint.mccabe]
max-complexity = 15
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"