This repository was archived by the owner on Dec 4, 2026. It is now read-only.
Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (91 loc) · 2.23 KB
/
Copy pathpyproject.toml
File metadata and controls
106 lines (91 loc) · 2.23 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
[project]
name = "kent"
description = "Fake Sentry service for debugging and integration tests"
version = "2.3.0"
readme = "README.md"
keywords = ["sentry", "integration service", "test"]
authors = [{name = "Will Kahn-Greene"}]
license = "MPL-2.0"
requires-python = ">=3.10"
dependencies = ["flask>3"]
classifiers = [
"Development Status :: 7 - Inactive",
"Intended Audience :: Developers",
"Natural Language :: English",
"Programming Language :: Python :: 3 :: Only",
"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",
]
urls.Homepage = "https://github.com/mozilla-services/kent/"
urls.Source = "https://github.com/mozilla-services/kent/"
urls.Issues = "https://github.com/mozilla-services/kent/issues"
[project.scripts]
kent-server = "kent.cli_server:main"
kent-testpost = "kent.cli_testpost:main"
[project.optional-dependencies]
dev = [
"build",
"pytest",
"requests",
"ruff",
"sentry-sdk",
"setuptools",
"tox",
"tox-gh-actions",
"tox-uv",
"twine",
]
[build-system]
requires = ["setuptools>=80", "setuptools-scm[simple]>=8"]
[tool.ruff]
line-length = 88
target-version = "py310"
src = ["src", "tests"]
[tool.ruff.lint]
# Enable pycodestyle (E), pyflakes (F), and bugbear (B) rules
select = ["E", "F", "B"]
ignore = ["E501"]
[tool.ruff.lint.flake8-quotes]
docstring-quotes = "double"
[tool.pytest.ini_options]
filterwarnings = [
"error",
"ignore:::babel[.*]",
"ignore:::jinja2[.*]",
"ignore:::yaml[.*]",
# Sphinx 4.2.0 uses distutils and it's deprecated in 3.10
"ignore::DeprecationWarning:sphinx"
]
[tool.tox]
legacy_tox_ini = """
[tox]
isolated_build = True
envlist =
py310
py310-lint
py311
py312
py313
py314
uv_python_preference = only-managed
[gh-actions]
python =
3.10: py310
3.11: py311
3.12: py312
3.13: py313
3.14: py314
[testenv]
extras = dev
commands = pytest {posargs} tests/
[testenv:py310-lint]
allowlist_externals = ruff
basepython = python3.10
changedir = {toxinidir}
commands =
ruff format --check bin src tests
ruff check bin src tests
"""