forked from QCoDeS/broadbean
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
109 lines (91 loc) · 2.43 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
[build-system]
requires = [
"setuptools >= 68.1.2",
"versioningit >= 2.0.1",
]
build-backend = 'setuptools.build_meta'
[project]
name = "broadbean"
maintainers = [{name = "QCoDeS Core Developers", email = "qcodes-support@microsoft.com"}]
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.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
]
license = {text = "MIT"}
urls = {Homepage = "https://github.com/QCoDeS/broadbean"}
requires-python = ">=3.9"
dependencies = [
"numpy>=1.12.1",
"matplotlib",
"schema",
"versioningit>=2.0.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",
"black>=22.3.0",
"mypy>=0.960",
"types-pytz>=2021.3.0",
"jupyter>=1.0.0",
"hypothesis>=5.49.0",
]
docs = [
"sphinx",
"sphinx_rtd_theme",
"nbsphinx",
"sphinx-jsonschema",
]
[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"]
[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.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