forked from jazzband/django-oauth-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
94 lines (83 loc) · 2.36 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
[build-system]
requires = ["setuptools >= 61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "django-oauth-toolkit"
dynamic = ["version"]
requires-python = ">= 3.8"
authors = [
{name = "Federico Frenguelli"},
{name = "Massimiliano Pippi"},
{email = "[email protected]"},
]
description = "OAuth2 Provider for Django"
keywords = ["django", "oauth", "oauth2", "oauthlib"]
license = {file = "LICENSE"}
readme = "README.rst"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Internet :: WWW/HTTP",
]
dependencies = [
"django >= 4.2",
"requests >= 2.13.0",
"oauthlib >= 3.2.2",
"jwcrypto >= 1.5.0",
]
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"m2r",
"sphinx-rtd-theme",
]
[project.urls]
Homepage = "https://django-oauth-toolkit.readthedocs.io/"
Repository = "https://github.com/jazzband/django-oauth-toolkit"
[tool.setuptools.dynamic]
version = {attr = "oauth2_provider.__version__"}
# Ref: https://github.com/codespell-project/codespell#using-a-config-file
[tool.codespell]
skip = '.git,package-lock.json,locale,AUTHORS,tox.ini'
check-hidden = true
ignore-regex = '.*pragma: codespell-ignore.*'
ignore-words-list = 'assertIn'
[tool.coverage.run]
source = ["oauth2_provider"]
omit = ["*/migrations/*"]
[tool.coverage.report]
show_missing = true
[tool.pytest.ini_options]
django_find_project = false
addopts = [
"--cov=oauth2_provider",
"--cov-report=",
"--cov-append",
"-s"
]
markers = [
"oauth2_settings: Custom OAuth2 settings to use - use with oauth2_settings fixture",
"nologinrequiredmiddleware",
]
[tool.ruff]
line-length = 110
exclude = [".tox", "build/", "dist/", "docs/", "oauth2_provider/migrations/", "tests/migrations/", "manage.py"]
[tool.ruff.lint]
select = ["E", "F", "I", "Q", "W"]
[tool.ruff.lint.isort]
lines-after-imports = 2
known-first-party = ["oauth2_provider"]