-
Notifications
You must be signed in to change notification settings - Fork 85
/
pyproject.toml
122 lines (107 loc) · 3.07 KB
/
pyproject.toml
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
[build-system]
requires = [
"setuptools >= 68.1.2",
"versioningit >= 2.2.1"
]
build-backend = 'setuptools.build_meta'
[project]
name = "qcodes_contrib_drivers"
description = "User contributed drivers for QCoDeS"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2 )",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",]
requires-python = ">=3.10"
dependencies = [ "qcodes>=0.42.0", "versioningit>=2.2.1", "packaging", "pandas", "cffi", "python-dotenv", "autobahn"]
dynamic = [ "version",]
[[project.maintainers]]
name = "QCoDeS Community"
email = "[email protected]"
[project.readme]
file = "README.rst"
content-type = "text/x-rst"
[project.license]
text = "MIT"
[project.urls]
Homepage = "https://github.com/QCoDeS/Qcodes_contrib_drivers"
Documentation = "https://qcodes.github.io/Qcodes_contrib_drivers/"
Source = "https://github.com/qcodes/qcodes_contrib_drivers"
Tracker = "https://github.com/QCoDeS/Qcodes_contrib_drivers/issues"
[project.optional-dependencies]
test = [
"pytest>=6.2.2",
"pytest-mock",
"mypy>=0.940",
"pytest-cov>=3.0.0",
"coverage[toml]>=6.2",
"pyvisa-sim",
"types-tqdm>=4.64.6",
"pandas-stubs",
]
docs = [ "sphinx", "furo", "nbsphinx", ]
[tool.mypy]
strict_optional = true
disallow_untyped_decorators = true
ignore_missing_imports = false
show_column_numbers = true
warn_unused_ignores = true
warn_unused_configs = true
warn_redundant_casts = true
show_error_codes = true
[[tool.mypy.overrides]]
module = [
"qcodes_contrib_drivers.drivers.Spectrum.pyspcm",
"qcodes_contrib_drivers.drivers.OxfordInstruments._decsvisa.*",
]
ignore_errors = true
# these are packages that we import
# but either don't have stubs or we
# dont have them installed.
[[tool.mypy.overrides]]
module = [
"cffi",
"keysightSD1",
"nidaqmx.*",
"niswitch.*",
"pandas",
"py_header.*",
"pyspcm",
"spirack",
"zhinst.*",
"ruamel.*",
"msl.loadlib",
"TimeTagger",
"AMC",
"ACS",
"autobahn",
"python-dotenv"
]
ignore_missing_imports = true
[tool.setuptools]
zip-safe = false
license-files = [
"LICENSE_TEKTRONIX_AWG520_KEITHLEY_2700",
"LICENSE",
]
[tool.setuptools.cmdclass]
sdist = "versioningit.cmdclass.sdist"
build_py = "versioningit.cmdclass.build_py"
[tool.versioningit]
default-version = "0.0"
[tool.versioningit.format]
distance = "{next_version}.dev{distance} {branch}.{vcs}{rev}"
dirty = "{next_version}.dev{distance} {branch}.{vcs}{rev}.dirty"
distance-dirty = "{next_version}.dev{distance} {branch}.{vcs}{rev}.dirty"
[tool.versioningit.vcs]
method = "git"
match = ["v*"]
[tool.versioningit.onbuild]
source-file = "src/qcodes_contrib_drivers/_version.py"
build-file = "qcodes_contrib_drivers/_version.py"