-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathpyproject.toml
More file actions
124 lines (111 loc) · 2.98 KB
/
Copy pathpyproject.toml
File metadata and controls
124 lines (111 loc) · 2.98 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
[build-system]
requires = ["uv_build>=0.11.0,<0.13"]
build-backend = "uv_build"
[project]
name = "python-statsd"
version = "3.0.0"
description = "A statsd client: send counters, gauges and timers over UDP to statsd and on to Graphite."
readme = "README.md"
license = "BSD-3-Clause"
license-files = ["LICENSE"]
requires-python = ">=3.10"
authors = [{ name = "Rick van Hattem", email = "Wolph@wol.ph" }]
keywords = ["statsd", "graphite", "metrics", "udp"]
classifiers = [
"Development Status :: 6 - Mature",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Monitoring",
"Typing :: Typed",
]
dependencies = []
[project.urls]
Homepage = "https://github.com/WoLpH/python-statsd/"
Documentation = "https://python-statsd.readthedocs.io/"
Changelog = "https://github.com/WoLpH/python-statsd/blob/master/CHANGELOG.md"
Funding = "https://github.com/sponsors/wolph"
[project.optional-dependencies]
docs = [
"sphinx>=8.0",
"furo>=2025.1",
"myst-parser>=4.0",
]
tests = [
"pytest>=9.0",
"pytest-cov>=7.0",
"coverage>=7.0",
]
dev = [
"python-statsd[tests]",
"ruff>=0.15.0",
"mypy>=1.14",
"basedpyright>=1.0",
"pyrefly>=0.1",
"ty",
]
tox = [
"tox>=4.0",
"tox-uv>=1.0",
"tox-gh-actions>=3.0",
]
[tool.uv.build-backend]
module-root = ""
module-name = "statsd"
[tool.pytest.ini_options]
testpaths = ["statsd", "tests"]
addopts = [
"--doctest-modules",
"--cov",
"--cov-report=term-missing",
"--no-cov-on-fail",
]
[tool.coverage.run]
source = ["statsd", "tests"]
branch = true
[tool.coverage.paths]
# Map the per-env and per-runner checkouts onto one set of paths so
# `coverage combine` merges them instead of reporting them separately.
source = ["statsd", "*/statsd", "*\\statsd"]
tests = ["tests", "*/tests", "*\\tests"]
[tool.coverage.report]
fail_under = 100
show_missing = true
exclude_also = [
"if TYPE_CHECKING:",
"@(typing\\.)?overload",
]
[tool.mypy]
packages = ["statsd"]
local_partial_types = true
strict = true
enable_error_code = [
"exhaustive-match",
"ignore-without-code",
"redundant-expr",
"truthy-bool",
]
[tool.pyright]
pythonPlatform = "All"
include = ["statsd"]
ignore = [".venv", ".tox", "pystatsd"]
typeCheckingMode = "strict"
reportPrivateUsage = false
reportUnusedParameter = false
reportUnusedVariable = false
[tool.pyrefly]
project-includes = ["statsd"]
[tool.ty.src]
include = ["statsd"]
[tool.uv]
exclude-newer = "14 days"