-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
115 lines (99 loc) · 2.85 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", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "ibex-bluesky-core" # REQUIRED, is the only field that cannot be marked as dynamic.
dynamic = ["version"]
description = "Core bluesky plan stubs & devices for use at ISIS"
readme = "README.md"
requires-python = ">=3.10"
license = {file = "LICENSE"}
authors = [
{name = "ISIS Experiment Controls", email = "[email protected]" }
]
maintainers = [
{name = "ISIS Experiment Controls", email = "[email protected]" }
]
# Classifiers help users find your project by categorizing it.
#
# For a list of valid classifiers, see https://pypi.org/classifiers/
classifiers = [
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
# Specify the Python versions you support here. In particular, ensure
# that you indicate you support Python 3. These classifiers are *not*
# checked by "pip install". See instead "requires-python" key in this file.
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
]
dependencies = [
"bluesky",
"ophyd-async[ca] >= 0.8.0",
"matplotlib",
"lmfit",
"scipy",
"numpy",
"scipp",
"tzdata",
]
[project.optional-dependencies]
doc = [
"sphinx",
"sphinx_rtd_theme",
"myst_parser",
"sphinx-autobuild",
]
dev = [
"ibex_bluesky_core[doc]",
"ruff>=0.8",
"pyright",
"pytest",
"pytest-asyncio",
"pytest-cov",
"pyqt6", # For dev testing with matplotlib's qt backend.
]
[project.urls]
"Homepage" = "https://github.com/isiscomputinggroup/ibex_bluesky_core"
"Bug Reports" = "https://github.com/isiscomputinggroup/ibex_bluesky_core/issues"
"Source" = "https://github.com/isiscomputinggroup/ibex_bluesky_core"
[tool.pytest.ini_options]
testpaths = "tests"
asyncio_mode = "auto"
addopts = "--cov --cov-report=html -vv"
[tool.coverage.run]
branch = true
source = ["src"]
[tool.coverage.report]
fail_under = 100
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
"if typing.TYPE_CHECKING:",
"@abstractmethod",
]
[tool.coverage.html]
directory = "coverage_html_report"
[tool.pyright]
include = ["src", "tests"]
reportConstantRedefinition = true
reportDeprecated = true
reportInconsistentConstructor = true
reportMissingParameterType = true
reportMissingTypeArgument = true
reportUnnecessaryCast = true
reportUnnecessaryComparison = true
reportUnnecessaryContains = true
reportUnnecessaryIsInstance = true
reportUntypedBaseClass = true
reportUntypedClassDecorator = true
reportUntypedFunctionDecorator = true
[tool.setuptools_scm]
[tool.build_sphinx]