-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
80 lines (70 loc) · 2.16 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
# SPDX-FileCopyrightText: 2023 Contributors to the Fedora Project
#
# SPDX-License-Identifier: GPL-2.0-or-later
[tool.poetry]
name = "koschei-messages"
version = "1.0.1"
description = "A schema package for messages sent by Koschei"
authors = ["Fedora Infrastructure Team <[email protected]>"]
license = "GPLv2-or-later"
readme = "README.md"
homepage = "https://github.com/fedora-infra/koschei-messages"
repository = "https://github.com/fedora-infra/koschei-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"
coverage = {extras = ["toml"], version = "^7.2.7"}
[tool.poetry.dev-dependencies]
poetry = "^1.2.0b2"
black = ">=22.6.0"
pytest = "^7.1.2 || ^8.0.0"
pytest-cov = ">=3.0.0"
ruff = ">=0.0.253"
reuse = "^1.1.2 || ^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0"
[tool.poetry.plugins."fedora.messages"]
"koschei.package.state.change" = "koschei_messages.package:PackageStateChange"
"koschei.collection.state.change" = "koschei_messages.collection:CollectionStateChange"
[tool.black]
line-length = 100
[tool.ruff]
select = ["E", "F", "W", "I", "UP", "S", "B", "RUF"]
line-length = 100
target-version = "py38"
# ignore = ["RUF010", "UP038"]
allowed-confusables = ["’"]
[tool.ruff.per-file-ignores]
"tests/*" = ["S101"]
"koschei_messages/__init__.py" = ["F401"]
[tool.coverage.run]
branch = true
source = [
"koschei_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"