forked from toolsforexperiments/instrumentserver
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
114 lines (100 loc) · 2.32 KB
/
Copy pathpyproject.toml
File metadata and controls
114 lines (100 loc) · 2.32 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
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "instrumentserver"
version = "0.0.1"
description = "Distributed instrument control server and client for QCoDeS."
readme = "README.md"
license = {file = "LICENSE"}
requires-python = ">=3.11"
authors = [
{name = "Wolfgang Pfaff", email = "wolfgangpfff@gmail.com"},
{name = "Marcos Frenkel", email = "marcosf2@illinois.edu"}
]
dependencies = [
"pyqt5",
"pyzmq",
"qcodes>=0.58.0",
"qtpy",
"scipy",
"numpy",
"pandas",
"jsonschema",
"ruamel.yaml",
"PyYAML",
]
[project.optional-dependencies]
monitoring = ["influxdb-client"]
[project.urls]
Homepage = "https://github.com/toolsforexperiments/instrumentserver"
[project.scripts]
instrumentserver = "instrumentserver.apps:serverScript"
instrumentserver-client-station = "instrumentserver.apps:clientStationScript"
instrumentserver-detached = "instrumentserver.apps:detachedServerScript"
instrumentserver-listener = "instrumentserver.monitoring.listener:startListener"
instrumentserver-param-manager = "instrumentserver.apps:parameterManagerScript"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.ruff]
exclude = ["docs"]
[tool.ruff.lint]
extend-select = ["I"]
[tool.ruff.lint.per-file-ignores]
"*.ipynb" = ["E402"]
[tool.mypy]
files = ["src"]
exclude = ["src/instrumentserver/resource\\.py$"]
strict_optional = true
show_column_numbers = true
warn_unused_ignores = true
warn_unused_configs = true
warn_redundant_casts = true
no_implicit_optional = true
disallow_untyped_defs = true
show_error_codes = true
enable_error_code = "ignore-without-code"
[[tool.mypy.overrides]]
module = [
"PyQt5",
"PyQt5.*",
"qcodes",
"qcodes.*",
"qtpy",
"qtpy.*",
"scipy",
"scipy.*",
"zmq",
"zmq.*",
"ruamel",
"ruamel.*",
"jsonschema",
"jsonschema.*",
"yaml",
"pandas",
"pandas.*",
]
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["test/pytest"]
qt_api = "pyqt5"
log_cli = true
[tool.coverage.run]
branch = true
[dependency-groups]
dev = [
"pytest>=9.0.2",
"pytest-qt>=4.5.0",
"pytest-cov",
"ruff",
"mypy",
]
docs = [
"sphinx",
"pydata-sphinx-theme",
"myst-parser",
"nbsphinx",
"linkify-it-py",
]