-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpyproject.toml
98 lines (81 loc) · 2.15 KB
/
pyproject.toml
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
[tool.poetry]
name = "bugzilla2fedmsg"
version = "1.0.0"
description = "Consume Bugzilla messages over STOMP and republish to Fedora Messaging"
license = "LGPL-2.1-or-later"
authors = [
"Ralph Bean <[email protected]>"
]
readme = "README.rst"
keywords = ["fedora"]
homepage = "https://github.com/fedora-infra/bugzilla2fedmsg"
include = [
{ path = "tox.ini", format = "sdist" },
{ path = "tests", format = "sdist" },
{ path = "*.example", format = "sdist" },
{ path = "*.rst", format = "sdist" },
]
classifiers = [
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
[tool.poetry.dependencies]
python = "^3.9"
click = "^8.1.3"
fedora-messaging = "^3.5.0"
python-dateutil = "^2.9.0.post0"
stompest = "^2.3.0"
pyasn1 = "^0.6.0"
pytz = ">=2024.1"
bugzilla2fedmsg-schema = "^1.0.0"
fasjson-client = "^1.0.8"
dogpile-cache = "^1.3.3"
[tool.poetry.group.dev.dependencies]
pytest = ">=7.0.0"
pytest-cov = ">=4.0.0"
pytest-mock = ">=3.14.0"
black = ">=23.10.0"
ruff = ">=0.1.1"
coverage = {extras = ["toml"], version = ">=7.0.0"}
diff-cover = ">=8.0.0"
liccheck = ">=0.6"
pre-commit = ">=2.13"
[tool.poetry.scripts]
bugzilla2fedmsg = "bugzilla2fedmsg:cli"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 100
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "S", "B", "RUF"]
ignore = ["RUF012"]
[tool.ruff.lint.isort]
lines-after-imports = 2
order-by-type = false
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S101", "E501"]
[tool.coverage.run]
branch = true
source = ["bugzilla2fedmsg"]
[tool.coverage.paths]
source = ["bugzilla2fedmsg"]
[tool.coverage.report]
fail_under = 100
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.:",
# Don't complain if tests don't hit defensive assertion code
"raise AssertionError",
"raise NotImplementedError",
"\\.\\.\\.",
]
omit = [
"tests/*",
]