-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
79 lines (67 loc) · 1.54 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
[project]
name = "pyleco"
authors = [
{ name="PyLECO Developers" },
]
dynamic = ["version"]
description = "Python reference implementation of the Laboratory Experiment COntrol (LECO) protocol"
readme = "README.md"
license = {file = "LICENSE"}
classifiers = [
"Programming Language :: Python :: 3",
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: System :: Networking",
]
requires-python = ">=3.9"
dependencies = [
"pyzmq >= 22.3.0",
"openrpc >= 8.1.0",
"jsonrpc2-pyclient >= 4.3.0",
"jsonrpc2-objects >= 3.0.0",
"uuid7 >= 0.1.0",
]
[project.optional-dependencies]
dev = [
'pytest',
'pytest-cov',
'sphinx',
'sphinx_rtd_theme',
]
[project.urls]
"Homepage" = "https://github.com/pymeasure/pyleco"
"Bug Tracker" = "https://github.com/pymeasure/pyleco/issues"
[build-system]
requires = ["setuptools>=61.0", "wheel", "setuptools_scm>=7.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
# write_to = "pyleco/_version.py"
[tool.black]
line-length = 100
[tool.isort]
profile = "black"
[tool.ruff]
select = ["E", "F", "W"]
line-length = 100
exclude = [
".git",
".venv",
"__pypackages__",
"__pycache__",
"build",
"dist",
"docs/conf.py",
]
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
[mypy]
[tool.coverage.run]
branch = true
omit = [
# Omit LECO definitions
"pyleco/errors.py",
"pyleco/core/leco_protocols.py",
]