-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
184 lines (171 loc) · 4.68 KB
/
pyproject.toml
File metadata and controls
184 lines (171 loc) · 4.68 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
[build-system]
requires = ["setuptools>=65.0", "wheel", "setuptools_scm>=7.0"]
build-backend = "setuptools.build_meta"
[project]
name = "serdes-validation-framework"
version = "1.4.1"
description = "A comprehensive framework for validating high-speed SerDes protocols with PCIe 6.0, 224G Ethernet, and USB4/Thunderbolt 4 support."
authors = [
{name = "Mudit Bhargava", email = "muditbhargava666@gmail.com"}
]
readme = "README.md"
requires-python = ">=3.9,<3.13"
license = {text = "MIT"}
keywords = [
"SerDes",
"PCIe",
"PCIe-6.0",
"USB4",
"Thunderbolt-4",
"224G-Ethernet",
"NRZ",
"PAM4",
"high-speed",
"validation",
"compliance-testing",
"link-training",
"equalization",
"eye-diagram",
"tunneling",
"multi-protocol",
"data-collection",
"data-analysis",
"instrument-control",
"GPIB",
"automation"
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
"Topic :: Software Development",
"Topic :: System :: Hardware :: Hardware Drivers"
]
dependencies = [
"numpy>=1.26.0",
"scipy>=1.13.1,<2.0.0",
"pandas>=2.2.3",
"matplotlib>=3.9.0",
"seaborn>=0.13.0",
"plotly>=5.17.0",
"scikit-learn>=1.4.0",
"pyvisa>=1.13.0",
"pyvisa-py>=0.5.1",
"pyusb>=1.2.1",
"python-usbtmc>=0.8",
"gpib-ctypes @ git+https://github.com/tivek/gpib_ctypes",
"zeroconf>=0.131.0",
"psutil>=5.9.0",
# API dependencies
"fastapi>=0.104.0",
"uvicorn[standard]>=0.24.0",
"pydantic>=2.0.0",
"click>=8.0.0",
"requests>=2.31.0",
"python-multipart>=0.0.6",
"aiofiles>=23.2.0",
"httpx>=0.25.0"
]
[project.urls]
"Homepage" = "https://github.com/muditbhargava66/serdes-validation-framework"
"Documentation" = "https://serdes-validation-framework.readthedocs.io/"
"Source" = "https://github.com/muditbhargava66/serdes-validation-framework"
"Tracker" = "https://github.com/muditbhargava66/serdes-validation-framework/issues"
[project.optional-dependencies]
dev = [
"pytest>=7.1.1",
"pytest-cov>=5.0",
"tox>=4.0",
"pre-commit>=3.0",
"black>=24.0",
"mypy>=1.8.0",
"ruff>=0.4.2",
"uv>=0.1.0"
]
docs = [
"sphinx>=4.0.0",
"sphinx-rtd-theme>=1.0.0",
"myst-parser>=0.18.1",
"linkify-it-py",
"sphinx-markdown-tables",
"sphinx-design",
"sphinx-copybutton",
"sphinx-autobuild",
"sphinxcontrib-mermaid"
]
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
minversion = "7.1"
addopts = "-ra -q --cov=src --cov-report=term-missing"
testpaths = ["tests"]
[tool.coverage.run]
source = ["src"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"raise NotImplementedError",
"if __name__ == .__main__.:"
]
[tool.black]
line-length = 130
[tool.isort]
profile = "black"
line_length = 130
[tool.mypy]
strict = true
ignore_missing_imports = true
[tool.ruff]
line-length = 130
target-version = "py310"
exclude = [
".git",
"__pycache__",
"venv",
"env",
".venv",
".env",
"build",
"dist"
]
[tool.ruff.lint]
ignore = [
"W293", # blank line contains whitespace
"W291", # trailing whitespace
"F841", # local variable assigned but never used
"N803", # argument name should be lowercase
"N806", # variable in function should be lowercase
"B904", # raise without from inside except
"B017", # pytest.raises without match
"C901", # function is too complex
"F401", # imported but unused (common in __init__.py files)
"E501", # line too long (handled by black)
"E722", # bare except (sometimes necessary for broad exception handling)
"B006", # mutable default argument (sometimes intentional)
"E402", # module level import not at top (sometimes necessary)
"F811", # redefinition of unused variable (common in configuration files)
"B905", # zip() without explicit strict parameter (Python 3.9 compatibility)
"N805", # first argument of a method should be named `self` (not applicable to Pydantic validators)
]
# Extend select rules
select = [
"E", # pycodestyle errors
"F", # pyflakes
"W", # pycodestyle warnings
"C90", # mccabe
"I", # isort
"N", # pep8-naming
"B", # flake8-bugbear
]