-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
88 lines (75 loc) · 2.25 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
[project]
name = "ssmdevices"
version = "0.27.0"
description = "a collection of lab automation drivers implemented with labbench"
authors = [
{name="Dan Kuester", email = "[email protected]"},
{name="Keith Forsyth", email = "[email protected]"},
{name="Duncan McGillivray", email = "[email protected]"},
{name="Yao Ma", email = "[email protected]"},
{name="John Ladbury", email = "[email protected]"},
{name="Paul Blanchard" },
{name="Alex Curtin" },
{name="Ryan Jacobs" },
{name="Andre Rosete"},
{name="Audrey Puls"},
{name="Michael Voecks" },
]
maintainers = [
{name = "Dan Kuester", email = "[email protected]"},
]
dependencies = [
"labbench >= 0.36.0, <1.0",
# "labbench @ git+https://github.com/usnistgov/labbench@master",
"hidapi",
"pywifi",
"brainstem>=2.9.26",
]
requires-python = ">=3.9,<3.13"
readme = "README.md"
license = {file = "LICENSE.md"}
[project.urls]
homepage = "https://github.com/usnistgov/ssmdevices"
repository = "https://github.com/usnistgov/ssmdevices"
documentation = "https://pages.nist.gov/ssmdevices"
[project.optional-dependencies]
dev = [
"labbench[dev]",
"twine>=4.0.2",
]
doc = ["labbench[doc]"]
scripts = [
"seaborn",
"matplotlib",
"ipympl>=0.9.3",
]
[build-system]
requires = [
"pdm-pep517>=1.0",
]
build-backend = "pdm.pep517.api"
[tool]
[tool.pdm]
[tool.pdm.version]
source = "scm"
write_to = "src/ssmdevices/_version.py"
write_template = "__version__ = '{}'"
[tool.black]
line-length = 100
target-version = ["py39", "py310", "py311", "py312"]
include = '\.pyi?$'
[tool.pdm.scripts]
doc-html = {cmd = "sphinx-build -b html doc doc/html"}
doc-latex = {cmd = "sphinx-build -b latex doc doc/latex"}
doc-pdf = {cmd = "pdflatex doc/latex/ssmdevices-api.tex --output-directory=doc", env = {"TEXINPUTS" = "doc/latex"}}
doc-rst = {cmd = "sphinx-apidoc -F . -o doc/rst"}
[tool.ruff]
target-version = "py39"
extend-include = ["*.ipynb"]
[tool.ruff.format]
quote-style = "single"
line-ending = "lf"
docstring-code-format = true
docstring-code-line-length = "dynamic"
[tool.ruff.lint.extend-per-file-ignores]
"**/__init__.py" = ["F401", "F403", "E402"]