Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
160 lines (141 loc) · 3.81 KB
/
Copy pathpyproject.toml
File metadata and controls
160 lines (141 loc) · 3.81 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
[build-system]
requires = ["setuptools>=77.0"]
build-backend = "setuptools.build_meta"
[project]
name = "pipbert"
description = "Serial communication link bit error rate tester simulator, written in Python."
version = "11.2.0"
authors = [ {name = "David Banas", email = "capn.freako@gmail.com"}
]
readme = "README.md"
requires-python = ">=3.10,<3.14"
dependencies = [
"chaco==6.1.1",
"click==8.4.2",
"enable==6.1.0",
"kiwisolver==1.5.0",
"numpy>=1.26",
"optuna==4.9.0",
"pandas>=2.0",
"parsec==3.17",
"pychopmarg>=3.4.0,<4",
"pyface==8.0.0",
"pyibis-ami[gui]>=10.0.1,<11",
"pyside6==6.10.2",
"pyyaml==6.0.3",
"scikit-rf==2.0.1",
"scipy>=1.15",
"traits==7.1.0",
"traitsui==8.0.0",
"xlrd==2.0.2",
]
keywords=["bert", "communication", "simulator"]
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Telecommunications Industry",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Adaptive Technologies",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: System :: Emulators",
"Topic :: System :: Networking",
"Topic :: Utilities"
]
[project.urls]
Wiki = "https://github.com/capn-freako/PyBERT/wiki"
Installation = "https://github.com/capn-freako/PyBERT/wiki/instant_gratification"
FAQ = "https://github.com/capn-freako/PyBERT/wiki/pybert_faq"
GitHub = "https://github.com/capn-freako/PyBERT"
PyPi = "https://pypi.org/project/PipBERT/"
[project.scripts]
pybert = "pybert.cli:cli"
[project.optional-dependencies]
mcp = ["mcp>=2.0"]
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.data-files]
examples = ["examples/mcp_client.py", "examples/mcp_notebook.ipynb"]
[tool.black]
line-length = 119
[tool.isort]
# profile = "black"
known_first_party = ["pybert", "pyibisami"]
known_third_party = ["enable", "chaco"]
[tool.docformatter]
wrap-summaries = 0
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "-vv --durations=3"
xfail_strict=true
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
]
[tool.pylint.master]
fail-under = 9.0
[tool.pylint.messages_control]
disable = [
"invalid-name",
"line-too-long",
]
[tool.pylint.format]
max-line-length = 119
[tool.pydocstyle]
ignore = [
"D105", # Missing docstring in magic method
"D107", # Missing docstring in __init__
]
[tool.ruff]
exclude = [
"*.ipynb"
]
lint.ignore = [
"UP045", # "Optional[X] -> "X | None"
"I001", # import formatting
"BLE001", # blind exceptions
"UP031", # format specifiers instead of '%'
"RUF022", # unsorted all
]
[[tool.mypy.overrides]]
module = [
"chaco.*",
"enable.*",
"pyface.*",
"pyibisami.*",
"skrf.*",
"traitsui.*",
]
follow_untyped_imports = true
[tool.uv.workspace]
members = [
"PyAMI",
"PyChOpMarg",
]
[tool.uv.sources]
pyibis-ami = { workspace = true, editable = true }
pychopmarg = { workspace = true, editable = true }
[dependency-groups]
dev = [
"mcp>=2.0.0",
"mypy>=1.19.1",
"myst-parser>=4.0.0",
"pip>=25.3",
"pytest>=9.0.2",
"pytest-cov>=7.0.0",
"pytest-xdist>=3.8.0",
"scipy-stubs>=1.15.3.0",
"sphinx>=8.1.3",
"sphinx-rtd-theme>=3.1.0",
"types-pyyaml>=6.0.12.20250915",
"typing-extensions>=4.15.0",
]