-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
101 lines (86 loc) · 2.26 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
[project]
name = "sdss-cerebro"
version = "1.3.1a0"
description = "Telemetry management and time series for SDSS-V"
authors = [ { name = "José Sánchez-Gallego", email = "[email protected]" } ]
license = "BSD-3-Clause"
readme = "README.md"
requires-python = ">=3.10,<4"
dependencies = [
"numpy>=1.17.4",
"sdsstools>=1.6.1",
"influxdb-client[extra]>=1.9.0",
"click>=8.0.0",
"sdss-clu>=2.0.0",
"ntplib>=0.3.4",
"daemonocle>=1.0.2",
"click-default-group>=1.2.2",
"sdss-drift>=1.2.0",
"rx>=3.2.0",
"pymysql>=1.0.2",
"peewee>=3.15.4",
"asyncudp>=0.11.0",
"lvmopstools>=0.1.0",
"sdss-tpm-multicast-client>=0.3.0",
]
[project.urls]
Homepage = "https://github.com/sdss/cerebro"
Repository = "https://github.com/sdss/cerebro"
Documentation = "https://sdss-cerebro.readthedocs.io/en/latest/"
[project.scripts]
cerebro = "cerebro.__main__:main"
tpm2influxdb = "cerebro.scripts.tpm2influxdb:main"
[dependency-groups]
dev = [
"ipython>=8.0.0",
"matplotlib>=3.1.1",
"doc8>=0.8.0",
"pytest>=5.2.2",
"rstcheck>=3.3.1",
"pytest-cov>=2.8.1",
"pytest-sugar>=0.9.2",
"Sphinx>=3.0.0",
"codecov>=2.0.15",
"coverage[toml]>=5.0",
"ipdb>=0.12.3",
"myst-parser>=0.14.0",
"ruff>=0.9.0",
]
[tool.ruff]
line-length = 88
target-version = 'py312'
exclude = ["typings/"]
[ruff.lint]
select = ["E", "F", "I"]
unfixable = ["F841"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401", "F403", "E402"]
[tool.ruff.lint.isort]
known-first-party = ["cerebro"]
lines-after-imports = 2
section-order = ["future", "standard-library", "typing", "third-party", "sdss", "first-party", "local-folder"]
[tool.ruff.lint.isort.sections]
typing = ["typing"]
sdss = ["sdsstools", "clu", "drift"]
[tool.pytest.ini_options]
addopts = "--cov cerebro --cov-report xml --cov-report html --cov-report term"
[tool.coverage.run]
branch = true
include = ["cerebro/*"]
omit = [
"*/__init__.py",
"*/__main__.py",
"cerebro/sources/ieb.py",
"cerebro/sources/tron.py",
"cerebro/sources/lvm.py"
]
[tool.coverage.report]
exclude_lines = [
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
only-include = ["cerebro"]
[tool.hatch.build.targets.wheel]
packages = ["cerebro"]