-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
107 lines (87 loc) · 2.16 KB
/
pyproject.toml
File metadata and controls
107 lines (87 loc) · 2.16 KB
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
[project]
name = "arroyopy"
version = "0.3.1a"
authors = [
{ name="Dylan McReynolds", email="dmcreynolds@lbl.gov"},
]
license = { text = "BSD-3" }
description = "A library to simplify processing streams of data"
readme = "README.md"
requires-python = ">=3.11, <3.14"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
dependencies = [
"python-dotenv",
"pandas",
"numpy",
"pydantic>=2.0",
"pyyaml",
"typer",
"opentelemetry-api",
"opentelemetry-sdk",
"opentelemetry-exporter-otlp-proto-grpc",
"prometheus-client"
]
[project.optional-dependencies]
# These are required for developing the package (running the tests, building
# the documentation) but not necessarily required for _using_ it.
dev = [
"fakeredis",
"flake8",
"pre-commit",
"pytest-asyncio",
"pytest-cov",
"pytest-mock",
"pyzmq",
"redis",
"tiled[minimal-server]",
"typer"]
zmq = [
"pyzmq"
]
redis = [
"redis"
]
tiled = [
"tiled[client]"
]
file-watch = [
"watchfiles >= 0.21.0"
]
[project.scripts]
arroyo = "arroyopy.cli:app"
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
[project.urls]
Homepage = "https://github.com/als-computing/arroyopy"
Issues = "https://github.com/als-computing/arroyopy/issues"
[tool.coverage.run]
source = ["src/arroyopy"]
omit = ["*/test*", "*/__pycache__/*"]
[tool.coverage.report]
fail_under = 90
show_missing = true
precision = 2
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"@abstractmethod",
]
[tool.isort]
profile = "black"
[tool.pytest.ini_options]
filterwarnings = [
# Ignore fakeredis deprecation warnings (external library issues)
"ignore:Call to '__init__' function with deprecated usage.*retry_on_timeout:DeprecationWarning",
"ignore:Call to '__init__' function with deprecated usage.*lib_name:DeprecationWarning",
"ignore:Call to '__init__' function with deprecated usage.*lib_version:DeprecationWarning",
]
[tool.hatch.metadata]
allow-direct-references = true