Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
143 lines (126 loc) · 3.24 KB
/
Copy pathpyproject.toml
File metadata and controls
143 lines (126 loc) · 3.24 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
[build-system]
requires = ["setuptools>=77.0"]
build-backend = "setuptools.build_meta"
[project]
name = "pyibis-ami"
description = "Facilitates working directly with IBIS-AMI DLLs from the Python command prompt."
version = "9.3.1"
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",
"empy==4.2.1",
"importlib_resources==7.1.0",
"jupyter==1.1.1",
"lxml-html-clean==0.4.5",
"matplotlib>=3.6.1",
"numpy>=1.26",
"papermill==2.7.0",
"parsec==3.17",
"reportlab==5.0.0",
"scipy>=1.15",
"traits==7.1.0",
"traitsui==8.0.0",
"types-reportlab==4.5.1.20260712",
]
keywords=["ibis-ami"]
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"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",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: System :: Emulators",
"Topic :: Utilities",
]
[project.urls]
Documentation = "https://pyibis-ami.readthedocs.io/en/latest/"
Wiki = "https://github.com/capn-freako/PyAMI/wiki"
GitHub = "https://github.com/capn-freako/PyAMI"
PyPi = "https://pypi.org/project/PyIBIS-AMI/"
[project.scripts]
ami-config = "pyibisami.ami.config:main"
run-tests = "pyibisami.tools.run_tests:main"
run-notebook = "pyibisami.tools.run_notebook:main"
test-model = "pyibisami.testing.test_models:main"
check-ami = "pyibisami.testing.ami_test_config:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
"pyibisami" = ['*.ipynb']
[tool.black]
line-length = 119
[tool.isort]
profile = "black"
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "-vv"
xfail_strict=true
[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.*",
"click.*",
"em.*",
"enable.*",
"numpy.*",
"parsec.*",
"pyface.*",
"scipy.*",
"skrf.*",
"traits.*",
"traitsui.*"
]
ignore_missing_imports = true
[[tool.uv.index]]
name = "pypi"
url = "https://pypi.org/simple"
publish-url = "https://upload.pypi.org/legacy/"
[[tool.uv.index]]
name = "test"
url = "https://test.pypi.org/simple"
publish-url = "https://test.pypi.org/legacy/"
[dependency-groups]
dev = [
"m2r2>=0.3.4",
"mypy>=1.19.1",
"pytest>=9.0.2",
"pytest-cov>=7.0.0",
"pytest-xdist>=3.8.0",
"sphinx>=8.1.3",
"sphinx-rtd-theme>=3.1.0",
"typing-extensions>=4.15.0",
]