-
-
Notifications
You must be signed in to change notification settings - Fork 531
Expand file tree
/
Copy pathpyproject.toml
More file actions
143 lines (125 loc) · 3.13 KB
/
pyproject.toml
File metadata and controls
143 lines (125 loc) · 3.13 KB
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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "Authlib"
description = "The ultimate Python library in building OAuth and OpenID Connect servers and clients."
dependencies = [
"cryptography",
"joserfc>=1.6.0",
]
license = {text = "BSD-3-Clause"}
requires-python = ">=3.10"
dynamic = ["version"]
readme = "README.md"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Security",
"Topic :: Security :: Cryptography",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
]
[project.urls]
Documentation = "https://docs.authlib.org/"
Purchase = "https://authlib.org/plans"
Issues = "https://github.com/authlib/authlib/issues"
Source = "https://github.com/authlib/authlib"
Donate = "https://github.com/sponsors/lepture"
Blog = "https://blog.authlib.org/"
[dependency-groups]
dev = [
"coverage",
"cryptography",
"diff-cover>=9.6.0",
"prek>=0.1.3",
"pytest",
"pytest-asyncio",
"pytest-env",
"tox-uv >= 1.16.0",
]
clients = [
"anyio",
"cachelib",
"django",
"flask",
"httpx",
"requests",
"starlette[full]",
]
django = [
"django",
"pytest-django",
]
flask = [
"Flask",
"Flask-SQLAlchemy",
]
jose = [
"pycryptodomex>=3.10,<4",
]
docs = [
"shibuya",
"sphinx",
"sphinx-design",
"sphinx-copybutton",
]
[tool.setuptools.dynamic]
version = {attr = "authlib.__version__"}
[tool.setuptools.packages.find]
where = ["."]
include = ["authlib", "authlib.*"]
[tool.ruff.lint]
select = [
"B", # flake8-bugbear
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
]
ignore = [
"E501", # line-too-long
"E722", # bare-except
]
[tool.ruff.lint.isort]
force-single-line = true
[tool.ruff.format]
docstring-code-format = true
[tool.pytest.ini_options]
asyncio_default_fixture_loop_scope = "function"
asyncio_mode = "auto"
norecursedirs = ["authlib", "build", "dist", "docs", "htmlcov"]
pythonpath = ["."]
env = [
"DJANGO_SETTINGS_MODULE = tests.django_settings",
]
[tool.coverage.run]
branch = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"except ImportError",
"def __repr__",
"raise NotImplementedError",
"raise DeprecationWarning",
"deprecate",
"if TYPE_CHECKING:",
]
[tool.check-manifest]
ignore = ["tox.ini"]
[tool.distutils.bdist_wheel]
universal = true