-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
124 lines (110 loc) · 3.21 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
[tool.towncrier]
package = "anitya_schema"
filename = "docs/release-notes.rst"
directory = "news/"
title_format = "{version} ({project_date})"
issue_format = "{issue}"
template = "news/_template.rst"
[[tool.towncrier.type]]
directory = "api"
name = "API Changes"
showcontent = true
[[tool.towncrier.type]]
directory = "feature"
name = "Features"
showcontent = true
[[tool.towncrier.type]]
directory = "bug"
name = "Bug Fixes"
showcontent = true
[[tool.towncrier.type]]
directory = "dev"
name = "Development Changes"
showcontent = true
[[tool.towncrier.type]]
directory = "other"
name = "Other Changes"
showcontent = true
[[tool.towncrier.type]]
directory = "author"
name = "Contributors"
showcontent = true
[tool.black]
line-length = 88
target-version = ['py39']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| venv
| _build
| buck-out
| build
| dist
)/
)
'''
[tool.poetry]
name = "anitya_schema"
version = "2.3.0"
description = "JSON schema definitions for messages published by Anitya"
authors = ["Fedora Infrastructure Team <[email protected]>"]
maintainers = ["Fedora Infrastructure Team <[email protected]>"]
readme = "README.rst"
homepage = "https://github.com/fedora-infra/anitya-messages"
documentation = "https://anitya-messages.readthedocs.io/en/latest"
repository = "https://github.com/fedora-infra/anitya-messages"
license = "GPL-2.0-or-later"
classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12"
]
include = [
"LICENSE", "README.rst"
]
exclude = [
"anitya_schema.tests"
]
[tool.poetry.plugins."fedora.messages"]
"anitya.distro.add" = "anitya_schema:DistroCreated"
"anitya.distro.edit" = "anitya_schema:DistroEdited"
"anitya.distro.remove" = "anitya_schema:DistroDeleted"
"anitya.project.add" = "anitya_schema:ProjectCreated"
"anitya.project.edit" = "anitya_schema:ProjectEdited"
"anitya.project.remove" = "anitya_schema:ProjectDeleted"
"anitya.project.flag" = "anitya_schema:ProjectFlag"
"anitya.project.flag.set" = "anitya_schema:ProjectFlagSet"
"anitya.project.map.new" = "anitya_schema:ProjectMapCreated"
"anitya.project.map.update" = "anitya_schema:ProjectMapEdited"
"anitya.project.map.remove" = "anitya_schema:ProjectMapDeleted"
"anitya.project.version.update" = "anitya_schema:ProjectVersionUpdated"
"anitya.project.version.update.v2" = "anitya_schema:ProjectVersionUpdatedV2"
"anitya.project.version.remove" = "anitya_schema:ProjectVersionDeleted"
"anitya.project.version.remove.v2" = "anitya_schema:ProjectVersionDeletedV2"
[tool.poetry.dependencies]
python = "^3.10"
fedora-messaging = "^3.1.0"
[tool.poetry.dev-dependencies]
bandit = "^1.7.4"
black = "^25.0.0"
coverage = "^7.0.0"
diff-cover = "^9.0.0"
flake8 = "^7.0.0"
mock = "^5.0.0"
pytest = "^8.0.0"
pytest-cov = "^6.0.0"
# Required to test building the docs
Sphinx = "^8.0.0"
# Mypy test requirements
mypy = "^1.0"
types-mock = "^4.0.15"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"