-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
123 lines (108 loc) · 2.65 KB
/
Copy pathpyproject.toml
File metadata and controls
123 lines (108 loc) · 2.65 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
[project]
name = "imbi-plugin-pagerduty"
version = "2.11.5"
description = "PagerDuty lifecycle, webhook, and incidents plugins for Imbi"
readme = "README.md"
requires-python = ">=3.14"
license = { text = "BSD-3-Clause" }
authors = [{ name = "Gavin M. Roy", email = "gavinr@aweber.com" }]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.14",
]
dependencies = [
"httpx>=0.27",
"imbi-common[databases]==2.11.5",
"pydantic>=2",
]
[project.entry-points."imbi.plugins"]
pagerduty-lifecycle = "imbi_plugin_pagerduty.lifecycle:PagerDutyLifecyclePlugin"
pagerduty-webhook = "imbi_plugin_pagerduty.webhook:PagerDutyWebhookPlugin"
pagerduty-incidents = "imbi_plugin_pagerduty.incidents:PagerDutyIncidentsPlugin"
[dependency-groups]
dev = [
"basedpyright",
"coverage[toml]",
"imbi-common[server,databases]==2.11.5",
"pre-commit",
"pytest",
"pytest-asyncio",
"respx",
"ruff~=0.14.6",
]
dist = ["build", "twine", "wheel"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.coverage.report]
exclude_also = ["typing.TYPE_CHECKING"]
fail_under = 85
show_missing = true
[tool.coverage.run]
branch = true
source = ["src/imbi_plugin_pagerduty"]
[tool.hatch.build.targets.wheel]
packages = ["src/imbi_plugin_pagerduty"]
[tool.pyright]
executionEnvironments = [
{ root = "src" },
{ root = "tests", reportPrivateUsage = false },
]
deprecateTypingAliases = true
reportMissingSuperCall = "hint"
reportMissingTypeStubs = false
typeCheckingMode = "strict"
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
[tool.ruff]
line-length = 79
target-version = "py314"
[tool.ruff.format]
quote-style = "single"
[tool.ruff.lint]
select = [
"BLE",
"C4",
"C90",
"E",
"W",
"F",
"G",
"I",
"N",
"Q",
"S",
"ASYNC",
"B",
"DTZ",
"FURB",
"RUF",
"T20",
"UP",
]
ignore = [
"ASYNC109",
"N818",
"RSE",
"S105",
"TRY003",
"TRY400",
"UP047",
]
flake8-quotes = { inline-quotes = "single" }
[tool.ruff.lint.mccabe]
max-complexity = 15
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = ["S"]
[tool.uv]
default-groups = ["dev"]
exclude-newer = "7 days"
exclude-newer-package = { "clickhouse-connect" = false, "imbi-common" = false, "imbi-plugin-aws" = false, "imbi-plugin-github" = false, "imbi-plugin-logzio" = false, "imbi-plugin-oidc" = false, "imbi-plugin-pagerduty" = false, "imbi-plugin-sentry" = false, "imbi-plugin-sonarqube" = false }
[[tool.uv.index]]
url = "https://pypi.org/simple"
default = true