-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
78 lines (67 loc) · 2.01 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
[tool.poetry]
name = "tahrir-messages"
version = "2.0.1"
description = "A schema package for messages sent by tahrir"
authors = ["Fedora Infrastructure Team <[email protected]>"]
license = "LGPL-3.0-or-later"
readme = "README.md"
homepage = "http://github.com/fedora-infra/tahrir-messages"
repository = "http://github.com/fedora-infra/tahrir-messages"
keywords = ["fedora-messaging"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: System Administrators",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Operating System :: POSIX :: Linux",
"Topic :: Communications",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[tool.poetry.dependencies]
python = "^3.8"
fedora-messaging = "^3.3.0"
[tool.poetry.dev-dependencies]
black = ">=22.6.0"
pytest = ">=7.0.0"
pytest-cov = ">=3.0.0"
coverage = {extras = ["toml"], version = ">=7.0.0"}
ruff = ">=0.0.253"
reuse = ">=1.1.0"
[tool.poetry.plugins."fedora.messages"]
"badges.person.login.first.v1" = "tahrir_messages:PersonLoginFirstV1"
"badges.badge.award.v1" = "tahrir_messages:BadgeAwardV1"
"badges.person.rank.advance.v1" = "tahrir_messages:PersonRankAdvanceV1"
[tool.black]
line-length = 100
[tool.ruff]
line-length = 100
target-version = "py38"
# ignore = ["RUF010", "UP038"]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "S", "B", "RUF"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S101"]
"tahrir_messages/__init__.py" = ["F401"]
[tool.coverage.run]
branch = true
source = [
"tahrir_messages",
]
[tool.coverage.report]
fail_under = 100
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.:",
"def __repr__",
"if TYPE_CHECKING:",
"raise NotImplementedError",
]
omit = [
"tests/*",
]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"