forked from puiterwijk/flask-oidc
-
Notifications
You must be signed in to change notification settings - Fork 15
/
pyproject.toml
93 lines (81 loc) · 2.35 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
[tool.poetry]
name = "flask-oidc"
version = "2.2.2"
description = "OpenID Connect extension for Flask"
readme = "README.rst"
authors = [
"Erica Ehrhardt",
"Patrick Uiterwijk",
"Aurélien Bompard <[email protected]>",
]
homepage = "https://github.com/fedora-infra/flask-oidc"
repository = "https://github.com/fedora-infra/flask-oidc"
license = "BSD-2-Clause"
classifiers = [
"Environment :: Web Environment",
"Framework :: Flask",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules",
]
include = [
{ path = "tox.ini", format = "sdist" },
{ path = "tests/*", format = "sdist" },
{ path = "docs/*", format = "sdist" },
{ path = "LICENSES/*", format = "sdist" },
]
[tool.poetry.dependencies]
python = "^3.8"
flask = ">=0.12.2,<4.0.0"
authlib = "^1.2.0"
requests = "^2.20.0"
blinker = "^1.4.0"
sphinx = {version = "*", optional = true}
myst-parser = {version = "*", optional = true}
sphinxcontrib-httpdomain = {version = "*", optional = true}
flask-sphinx-themes = {version = "*", optional = true}
[tool.poetry.group.dev.dependencies]
black = ">=22.6.0"
pytest = "^7.1.2 || ^8.0.0"
pytest-cov = ">=3.0.0"
ruff = ">=0.0.253"
responses = ">=0.23.3"
packaging = "^23.1"
reuse = "^2.1.0 || ^3.0.0 || ^4.0.0"
[tool.poetry.extras]
docs = ["sphinx", "myst-parser", "sphinxcontrib-httpdomain", "flask-sphinx-themes"]
[tool.poetry.build]
generate-setup-file = true
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
target-versions = ["py38", "py39", "py310", "py311"]
[tool.ruff.per-file-ignores]
"tests/*" = ["S101", "S105", "S106"]
"doc/conf.py" = ["E402", "I001"]
[tool.coverage.run]
branch = true
# source = [
# "flask_oidc",
# ]
# omit =
[tool.coverage.report]
precision = 2
fail_under = 100
show_missing = true
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if TYPE_CHECKING:",
"raise NotImplementedError",
"\\.\\.\\.",
"if __name__ == .__main__.:",
]