-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
62 lines (52 loc) · 1.41 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
[tool.poetry]
name = "mailman3-fedmsg-plugin"
version = "1.0.0"
description = "Emit fedora-messaging messages from Mailman 3"
authors = ["Aurélien Bompard <[email protected]>"]
license = "LGPL-3.0-or-later"
readme = "README.md"
homepage = "https://github.com/fedora-infra/mailman3-fedmsg-plugin"
repository = "https://github.com/fedora-infra/mailman3-fedmsg-plugin"
keywords = ["fedora", "fedora-messaging"]
[tool.poetry.dependencies]
python = "^3.9"
fedora-messaging = "^3.4.1"
backoff = "^2.2.1"
mailman = ">=3.0.0"
mailman3-fedmsg-plugin-schemas = ">=1.0.0"
zope-interface = "^6.2 || ^7.0.0"
[tool.poetry.group.dev.dependencies]
mailman3-fedmsg-plugin-schemas = {path = "./mailman_schema", develop = true}
ruff = "*"
black = "*"
pytest = ">=7.4.0"
pytest-cov = ">=4.1.0"
coverage = {extras = ["toml"], version = ">=7.0.0"}
reuse = ">=1.1.0"
pre-commit = "^3.6.2 || ^4.0.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 100
[tool.ruff]
line-length = 100
target-version = "py39"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "S", "B", "RUF"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S101"]
[tool.coverage.run]
branch = true
[tool.coverage.report]
fail_under = 100
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.:",
"def __repr__",
"if TYPE_CHECKING:",
"raise NotImplementedError",
]
omit = [
"tests/*",
]