-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
128 lines (119 loc) · 3.21 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
[build-system]
requires = ["setuptools>=61.0.0"]
build-backend = "setuptools.build_meta"
[project]
name = "mozilla-django-oidc-db"
version = "0.21.1"
description = "A database-backed configuration for mozilla-django-oidc"
authors = [
{name = "Maykin Media", email = "[email protected]"}
]
readme = "README.rst"
license = {file = "LICENSE"}
keywords = ["OIDC", "django", "database", "authentication"]
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: Django",
"Framework :: Django :: 4.2",
"Intended Audience :: Developers",
"Operating System :: Unix",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
]
requires-python = ">=3.10"
dependencies = [
"django>=4.2",
"django-jsonform>=2.12",
"django-solo",
"glom",
"mozilla-django-oidc>=3.0.0",
"typing-extensions>=4.0.0",
]
[project.urls]
Homepage = "https://github.com/maykinmedia/mozilla-django-oidc-db"
Documentation = "https://mozilla-django-oidc-db.readthedocs.io/en/latest/"
"Bug Tracker" = "https://github.com/maykinmedia/mozilla-django-oidc-db/issues"
"Source Code" = "https://github.com/maykinmedia/mozilla-django-oidc-db"
Changelog = "https://github.com/maykinmedia/mozilla-django-oidc-db/blob/master/CHANGELOG.rst"
[project.optional-dependencies]
setup-configuration = [
"django-setup-configuration>=0.4.0",
]
tests = [
"psycopg2",
"pytest",
"pytest-django",
"pytest-mock",
"pytest-recording",
"requests-mock",
"factory-boy",
"pyquery",
"tox",
"isort",
"black",
"flake8",
]
coverage = [
"pytest-cov",
]
docs = [
"sphinx",
"sphinx-rtd-theme",
]
release = [
"bump-my-version",
"twine",
]
[tool.setuptools.packages.find]
include = ["mozilla_django_oidc_db*"]
namespaces = false
[tool.isort]
profile = "black"
combine_as_imports = true
known_django = "django"
known_first_party="mozilla_django_oidc_db"
sections=["FUTURE", "STDLIB", "DJANGO", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
skip = ["env", "node_modules", ".tox"]
skip_glob = ["**/migrations/**"]
[tool.pytest.ini_options]
testpaths = ["tests"]
DJANGO_SETTINGS_MODULE = "testapp.settings"
markers = [
"oidcconfig: keyword arguments for the OIDC config",
"auth_request: additional configuration for the auth_request fixture",
"callback_request: additional configuration for the callback_request fixture",
"mock_backend_claims: claims to be returned by the mock backend fixture",
]
[tool.bumpversion]
current_version = "0.21.1"
files = [
{filename = "pyproject.toml"},
{filename = "README.rst"},
{filename = "docs/conf.py"},
]
[tool.coverage.run]
branch = true
source = [
"mozilla_django_oidc_db"
]
omit = [
# migrations run while django initializes the test db
"*/migrations/*",
]
[tool.coverage.report]
exclude_also = [
"if (typing\\.)?TYPE_CHECKING:",
"@(typing\\.)?overload",
"class .*\\(.*Protocol.*\\):",
"@(abc\\.)?abstractmethod",
"raise NotImplementedError",
"\\.\\.\\.",
"pass",
]
omit = [
"*/migrations/*",
]