-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathpyproject.toml
119 lines (105 loc) · 2.5 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
[tool.towncrier]
package = "hotness"
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 = ['py36']
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 = "the-new-hotness"
version = "1.3.0"
description = "A fedora messaging consumer that files bugzilla bugs for upstream releases"
authors = ["Ralph Bean <rbean@redhat.com>"]
maintainers = ["Michal Konecny <mkonecny@redhat.com>"]
readme = "README.rst"
homepage = "https://github.com/fedora-infra/the-new-hotness"
documentation = "https://the-new-hotness.readthedocs.io"
repository = "https://github.com/fedora-infra/the-new-hotness"
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",
"config/config.toml.example"
]
packages = [
{ include = "hotness" }
]
[tool.poetry.dependencies]
python = "^3.10"
anitya-schema = "^2.0.1"
fedora-messaging = "^3.1.0"
fedora-messaging-the-new-hotness-schema = "^1.1.2"
koji = "^1.30.0"
python-bugzilla = "^3.2.0"
redis = "^5.0.0"
requests = "^2.28.1"
[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-requests = "^2.28.11"
types-redis = "^4.3.21"
[tool.poetry.group.dev.dependencies]
towncrier = "^24.0.0"
tox = "^4.5.1"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"