Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
79 lines (66 loc) · 1.81 KB
/
Copy pathpyproject.toml
File metadata and controls
79 lines (66 loc) · 1.81 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
[project]
name = "pytest-sentry"
version = "0.7.0"
description = "A pytest plugin to send testrun information to Sentry.io"
readme = "README.md"
license = "BSD-2-Clause"
license-files = ["LICENSE"]
authors = [{ name = "Markus Unterwaditzer", email = "markus@unterwaditzer.net" }]
requires-python = ">=3.13"
classifiers = [
"Framework :: Pytest",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = [
"pytest>=9.1.1",
"sentry-sdk>=2.66.0",
"wrapt>=2.5.1",
]
[project.urls]
Repository = "https://github.com/getsentry/pytest-sentry"
[project.entry-points.pytest11]
sentry = "pytest_sentry"
[dependency-groups]
dev = [
"pytest-rerunfailures>=16.7",
"ruff>=0.17.1",
"ty>=0.0.90",
]
[build-system]
requires = ["uv_build>=0.13.4,<0.14"]
build-backend = "uv_build"
[tool.uv.build-backend]
module-root = ""
[tool.ruff]
target-version = "py313"
line-length = 100
[tool.ruff.lint]
select = ["ALL"]
preview = true
explicit-preview-rules = false
ignore = [
# Conflict with the formatter: https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
"missing-trailing-comma",
"single-line-implicit-string-concatenation",
# Mutually exclusive with D211 / D212, which are enforced instead.
"incorrect-blank-line-before-class",
"multi-line-summary-second-line",
]
[tool.ruff.lint.per-file-ignores]
"tests/**" = [
"assert", # pytest uses bare asserts
"magic-value-comparison", # magic values in assertions
]
[tool.ruff.format]
preview = true
[tool.ty.environment]
python-version = "3.13"
[tool.ty.rules]
all = "error"
[tool.ty.terminal]
error-on-warning = true
[tool.pytest.ini_options]
addopts = ["-p", "no:cacheprovider", "-p", "pytester"]