-
-
Notifications
You must be signed in to change notification settings - Fork 394
Expand file tree
/
Copy pathpyproject.toml
More file actions
146 lines (131 loc) · 3.62 KB
/
pyproject.toml
File metadata and controls
146 lines (131 loc) · 3.62 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
144
145
146
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=78.0.2"]
[dependency-groups]
dev = [
"coverage>=3.6",
"django-stubs-ext==6.0.2",
"django-stubs==6.0.2",
"mypy==1.20.1",
"pre-commit",
"pyright==1.1.408",
"tox"
]
[project]
authors = [
{email = "matiasaguirre@gmail.com", name = "Matias Aguirre"},
{email = "michal@weblate.org", name = "Michal Čihař"}
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django :: 5.1",
"Framework :: Django :: 5.2",
"Framework :: Django :: 6.0",
"Framework :: Django",
"Intended Audience :: Developers",
"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",
"Topic :: Internet"
]
dependencies = [
"Django>=5.1",
"social-auth-core~=4.8.3"
]
description = "Python Social Authentication, Django integration."
keywords = ["django", "oauth", "openid", "saml", "social auth"]
license = "BSD-3-Clause"
license-files = ["LICENSE"]
name = "social-auth-app-django"
readme = "README.md"
requires-python = ">=3.10"
version = "5.7.0"
[project.optional-dependencies]
# This is present until pip implements supports for PEP 735
# see https://github.com/pypa/pip/issues/12963
dev = [
"coverage>=3.6",
"django-stubs-ext==6.0.2",
"django-stubs==6.0.2",
"mypy==1.20.1",
"pre-commit",
"pyright==1.1.408",
"tox"
]
[project.urls]
Changelog = "https://github.com/python-social-auth/social-app-django/blob/master/CHANGELOG.md"
Funding = "https://opencollective.com/python-social-auth"
Homepage = "https://github.com/python-social-auth/social-app-django"
[tool.check-manifest]
ignore = [
".coveragerc",
".pre-commit-config.yaml",
".well-known/funding-manifest-urls",
"tox.ini"
]
[tool.check-wheel-contents]
ignore = [
"W004" # Django migrations fail here
]
[tool.django-stubs]
django_settings_module = "tests.settings"
strict_settings = false
[tool.mypy]
check_untyped_defs = true
plugins = [
"mypy_django_plugin.main"
]
[tool.pyright]
pythonVersion = "3.10"
reportAttributeAccessIssue = "none"
reportOptionalMemberAccess = "none"
reportPossiblyUnboundVariable = "none"
[tool.ruff]
# Ignore some well known paths
exclude = [
"*.egg",
".tox",
".venv",
"build",
"db/env.py",
"db/versions/*.py",
"dist",
"doc",
"site"
]
line-length = 120
[tool.ruff.lint]
ignore = [
"ANN", # TODO: Missing type annotations
"ARG001", # TODO: Unused function argument (mostly for API compatibility)
"ARG002", # TODO: Unused method argument (mostly for API compatibility)
"B026", # TODO: Star-arg unpacking after a keyword argument is strongly discouraged
"COM812", # CONFIG: incompatible with formatter
"D", # TODO: Missing documentation
"D203", # CONFIG: incompatible with D211
"D212", # CONFIG: incompatible with D213
"DJ008", # TODO: Model does not define `__str__` method
"FBT002", # TODO: Boolean default positional argument in function definition
"FBT003", # TODO: Boolean positional value in function call
"PT", # CONFIG: Not using pytest
"RUF012" # TODO: ClassVar type annotations
]
select = ["ALL"]
[tool.ruff.lint.mccabe]
max-complexity = 10
[tool.ruff.lint.per-file-ignores]
"social_django/migrations/*.py" = ["RUF012"]
"tests/settings.py" = ["PTH"]
[tool.setuptools]
packages = ["social_django"]
[tool.tomlsort]
ignore_case = true
sort_inline_arrays = true
sort_inline_tables = true
sort_table_keys = true
spaces_before_inline_comment = 2