This repository has been archived by the owner on May 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
194 lines (167 loc) · 4.27 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
[tool.poetry]
name = "noggin-aaa"
version = "1.5.1"
description = "Noggin is a self-service portal for FreeIPA. The primary purpose of the portal is to allow users to sign up and manage their account information and group membership."
license = "MIT"
authors = [
"Fedora Infrastructure <[email protected]>"
]
readme = 'README.md' # Markdown files are supported
repository = "https://github.com/fedora-infra/noggin"
homepage = "https://github.com/fedora-infra/noggin"
keywords = ['security']
packages = [
{ include = "noggin" },
]
include = [
"tox.ini",
"noggin.cfg.example",
"babel.cfg",
"docs/*",
"docs/*/*",
]
classifiers = [
"Environment :: Web Environment",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: System :: Systems Administration :: Authentication/Directory",
]
[tool.poetry.dependencies]
python = "^3.6.2"
cryptography = "^36.0.0"
flask = "^2.0.2"
flask-wtf = "^1.0.0"
python-freeipa = "^1.0.6"
click = "^8.0"
pyjwt = "^2.3.0"
Flask-Mail = "^0.9.1"
gunicorn = {version = "^20.0", optional = true}
fedora-messaging = "^2.0.1"
backoff = "^1.10.0"
noggin-messages = "^1.0.0"
whitenoise = "^5.0.1"
flask-babel = "^2.0.0"
flask-healthz = "^0.0.3"
markupsafe = "^2.0.0"
wtforms = {extras = ["email"], version = "^3.0.0"}
requests = {extras = ["security"], version = "^2.26.0"}
translitcodec = "0.7.0"
unidecode = "^1.2.0"
flask-talisman = "^0.8.1"
pyotp = "^2.6.0"
[tool.poetry.dev-dependencies]
pytest = "^6.2.5"
pytest-cov = "^3.0.0"
sphinx = "^4.2"
beautifulsoup4 = "^4.9"
vcrpy = "^4.0"
pytest-vcr = "^1.0"
liccheck = "^0.6.4"
bandit = "^1.6"
black = {version = "^21.12b0", allow-prereleases = true}
flake8 = "^4.0.1"
Faker = "^10.0.0"
pytest-mock = "^3.0.0"
isort = "^5.1.4"
rstcheck = "^3.3.1"
pre-commit = "^2.13.0"
safety = "^1.10.3"
towncrier = "^21.3.0"
[tool.poetry.extras]
deploy = ["gunicorn"]
[tool.black]
skip-string-normalization = true
[tool.towncrier]
package = "noggin"
filename = "docs/release_notes.rst"
directory = "news/"
title_format = "v{version}"
issue_format = "{issue}"
template = "news/_template.rst.j2"
underlines = "=^-"
wrap = true
all_bullets = true
[[tool.towncrier.type]]
directory = "bic"
name = "Backwards Incompatible Changes"
showcontent = true
[[tool.towncrier.type]]
directory = "dependency"
name = "Dependency 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 Improvements"
showcontent = true
[[tool.towncrier.type]]
directory = "docs"
name = "Documentation Improvements"
showcontent = true
[[tool.towncrier.type]]
directory = "other"
name = "Other Changes"
showcontent = true
[[tool.towncrier.type]]
directory = "author"
name = "Contributors"
showcontent = true
[tool.liccheck]
authorized_licenses = [
"bsd",
"new bsd",
"simplified bsd",
"apache",
"apache 2.0",
"apache software",
"Apache License 2.0",
"gnu lgpl",
"gpl v2",
"GNU General Public License v2 or later (GPLv2+)",
"GNU Library or Lesser General Public License (LGPL)",
"gpl v3",
"lgpl with exceptions or zpl",
"isc",
"isc license (iscl)",
"mit",
"python software foundation",
"zpl 2.1",
"mpl-2.0",
"MPL 2.0",
"Mozilla Public License 2.0 (MPL 2.0)",
"lgpl",
"CC0 (copyright waived)",
"Public Domain",
"Public Domain <http://unlicense.org>",
"Unlicense",
"CC0 1.0 Universal (CC0 1.0) Public Domain Dedication",
"Zope Public",
]
[tool.liccheck.authorized_packages]
noggin-messages = ">=0.0.1"
[tool.isort]
profile = "black"
known_first_party = ["noggin", "noggin_messages"]
lines_after_imports = 2
force_alphabetical_sort_within_sections = true
[tool.pytest.ini_options]
testpaths = [
"noggin/tests/unit",
]
[build-system]
requires = ["poetry>=1.0.0"]
build-backend = "poetry.masonry.api"