-
Notifications
You must be signed in to change notification settings - Fork 21
/
pyproject.toml
114 lines (95 loc) · 2.56 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
[build-system]
requires = [
"setuptools >= 68.1.2",
"versioningit >= 2.2.1",
]
build-backend = 'setuptools.build_meta'
[project]
name = "broadbean"
maintainers = [{name = "QCoDeS Core Developers", email = "[email protected]"}]
description = "Package for easily generating and manipulating signal pulses."
keywords = ["Pulsebuilding signal processing arbitrary waveforms"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering",
]
license = {text = "MIT"}
urls = {Homepage = "https://github.com/QCoDeS/broadbean"}
requires-python = ">=3.10"
dependencies = [
"numpy>=1.12.1",
"matplotlib",
"schema",
"versioningit>=2.2.1",
]
dynamic = ["version"]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.optional-dependencies]
test = [
"pytest>=6.2.2",
"pytest-cov>=3.0.0",
"coverage[toml]>=6.2",
"mypy>=0.960",
"types-pytz>=2021.3.0",
"hypothesis>=5.49.0",
]
docs = [
"sphinx",
"furo",
"nbsphinx",
"sphinx-jsonschema",
"ipykernel",
]
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q"
[tool.mypy]
show_error_codes = true
enable_error_code = "ignore-without-code"
warn_unused_ignores = true
warn_unused_configs = true
warn_redundant_casts = true
[[tool.mypy.overrides]]
module = [
"matplotlib.*",
"schema"
]
ignore_missing_imports = true
[tool.ruff]
extend-include = ["*.ipynb"]
[tool.ruff.lint]
extend-select = ["UP", "ISC", "I"]
# UP038 may result in slower code
ignore = ["UP038"]
[tool.ruff.lint.per-file-ignores]
"*.ipynb" = ["E402"]
[tool.ruff.lint.isort]
known-first-party = ["broadbean"]
[tool.ruff.lint.pyupgrade]
keep-runtime-typing = true
[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/broadbean/_version.py"
build-file = "broadbean/_version.py"
[tool.darker]
isort = false