This repository has been archived by the owner on Mar 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 84
/
pyproject.toml
130 lines (117 loc) · 2.8 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
[build-system]
requires = [
"setuptools >= 61.0.0", "setuptools_scm[toml]>=6.2",
"wheel",
]
build-backend = "setuptools.build_meta"
[project]
name = "django_microsoft_auth"
description = "Simple app to enable Microsoft Account, Office 365 and Xbox Live authentcation as a Django authentcation backend."
authors = [
{name = "Christopher Bailey", email = "cbailey@mort.is"},
]
requires-python='>=3.8'
dependencies=[
"django>=3.2",
"pyjwt[crypto]<3.0",
"requests-oauthlib",
"requests",
]
dynamic = ["version"]
readme = "README.rst"
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
]
keywords = ["django_microsoft_auth"]
license = {file = "LICENSE"}
[project.optional-dependencies]
dev = [
"bandit[toml]",
"black",
"build",
"coverage",
"doc8",
"flake8-bugbear",
"flake8-builtins",
"flake8-commas",
"flake8-comprehensions",
"flake8",
"flit",
"furo",
"ipython",
"isort",
"pip-tools",
"pyproject-flake8",
"pytest-cov",
"pytest-django",
"pytest-rich",
"pytest",
"sphinx",
]
ql = [ "djangoql",]
[project.urls]
Documentation = "https://django-microsoft-auth.readthedocs.io/en/latest/"
Source = "https://github.com/AngellusMortis/django_microsoft_auth"
[tool.setuptools.packages.find]
include = ["microsoft_auth", "microsoft_auth.*"]
exclude = ["tests", "tests.*"]
[tool.bandit]
exclude_dirs = [
"tests/*",
".tox/*",
".git/*",
]
[tool.black]
line-length = 88
target-versions = 'py310'
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| migrations
)/
)
'''
[tool.coverage.run]
omit = [
"microsoft_auth/migrations/*.py",
]
[tool.flake8]
exclude = ".eggs, .git, .tox, build"
ignore = "C812, W503, C816, C815, B008"
max-line-length = 88
[tool.isort]
profile = "black"
# will group `import x` and `from x import` of the same module.
force_sort_within_sections = true
known_first_party = [
"microsoft_auth",
]
combine_as_imports = true
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "tests.site.settings"
addopts = "--rich --cov-config .coveragerc --cov-branch --cov-append --cov-report term-missing --color=yes --no-cov-on-fail --cov=microsoft_auth --durations=10 --maxfail=5"
[tool.setuptools]
include-package-data = true
[tool.setuptools_scm]