-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
70 lines (53 loc) · 2.36 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
[tool.poetry]
name = "koji-fedoramessaging-messages"
version = "1.2.5"
description = "A schema package for messages sent by the koji-fedoramessaging plugin"
license = "GPL-3.0-or-later"
authors = [
"Fedora Infrastructure Team <[email protected]>"
]
readme = 'README.md' # Markdown files are supported
repository = "https://github.com/fedora-infra/koji-fedoramessaging-messages"
homepage = "https://github.com/fedora-infra/koji-fedoramessaging-messages"
keywords = ['fedora']
include = [
{ path = "tox.ini", format = "sdist" },
{ path = "*.spec.in", format = "sdist" },
{ path = "make-spec.sh", format = "sdist" },
{ path = "tests/*", format = "sdist" },
]
[tool.poetry.plugins."fedora.messages"]
"koji_fedoramessaging.build.BuildStateChangeV1"="koji_fedoramessaging_messages.build:BuildStateChangeV1"
"koji_fedoramessaging.package.ListChangeV1"="koji_fedoramessaging_messages.package:ListChangeV1"
"koji_fedoramessaging.repo.DoneV1"="koji_fedoramessaging_messages.repo:DoneV1"
"koji_fedoramessaging.repo.InitV1"="koji_fedoramessaging_messages.repo:InitV1"
"koji_fedoramessaging.rpm.SignV1"="koji_fedoramessaging_messages.rpm:SignV1"
"koji_fedoramessaging.tag.TagV1"="koji_fedoramessaging_messages.tag:TagV1"
"koji_fedoramessaging.tag.UntagV1"="koji_fedoramessaging_messages.tag:UntagV1"
"koji_fedoramessaging.task.TaskStateChangeV1"="koji_fedoramessaging_messages.task:TaskStateChangeV1"
[tool.poetry.dependencies]
python = "^3.10"
fedora-messaging = ">=3.0.1"
[tool.poetry.group.dev.dependencies]
pytest = "^7.1.2 || ^8.0.0"
pytest-cov = "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0"
sphinx = "^3.0 || ^4.0.0 || ^7.0.0 || ^8.0.0"
black = "^22.6.0 || ^23.0.0 || ^24.0.0"
poetry = "^1.2.0-beta.2 || ^2.0.0"
ruff = "^0.0.272 || ^0.0.287 || ^0.0.288 || ^0.0.289 || ^0.0.290 || ^0.0.291 || ^0.0.292 || ^0.1.0 || ^0.2.0 || ^0.3.0 || ^0.4.0 || ^0.5.0 || ^0.6.0 || ^0.7.0 || ^0.8.0 || ^0.9.0"
[tool.poetry.build]
generate-setup-file = true
[tool.black]
line-length = 100
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "S", "B", "RUF"]
# Allow UP007 when python 3.11 is our minimum version: the construct wasn't
# optimized yet on python 3.10
ignore = ["RUF010", "UP038", "UP007", "RUF012"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S101"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"