-
Notifications
You must be signed in to change notification settings - Fork 50
/
pyproject.toml
109 lines (96 loc) · 2.26 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "django-allauth-2fa"
dynamic = ["version"]
description = "Adds two factor authentication to django-allauth"
readme = "README.rst"
license = "Apache-2.0"
requires-python = ">=3.8"
authors = [
{ name = "Víðir Valberg Guðmundsson", email = "[email protected]" },
]
keywords = [
"2fa",
"allauth",
"auth",
"authentication",
"django",
"factor",
"otp",
"two",
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Internet",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
# Pinned to due to backward-incompatible template changes in 0.58.0.
"django-allauth>=0.53.0,<0.58.0",
"django-otp>=1.2.0",
"django>=4.1",
"qrcode>=5.3",
]
[project.urls]
Homepage = "https://github.com/valohai/django-allauth-2fa"
[project.optional-dependencies]
test = [
"pytest-cov==4.1.0",
"pytest-django==4.5.2",
]
docs = [
"Sphinx==1.6.5",
"sphinx-autobuild==0.7.1", # To auto-build docs as they're edited.
"sphinx-rtd-theme==0.2.4", # The Read the Docs theme for Sphinx.
]
[tool.hatch.envs.default]
features = ["test"]
[tool.hatch.version]
path = "allauth_2fa/__init__.py"
[tool.hatch.build.targets.sdist]
include = [
"/allauth_2fa/**/*.py",
"/allauth_2fa/**/*.html",
"/allauth_2fa/py.typed",
]
[tool.hatch.build.targets.wheel]
include = [
"/allauth_2fa/**/*.py",
"/allauth_2fa/**/*.html",
"/allauth_2fa/py.typed",
]
[tool.ruff]
target-version = "py38"
[tool.ruff.lint]
exclude = [
".git",
".tox",
"__pycache__",
]
select = [
"B",
"COM",
"E",
"F",
"I",
"S",
"UP",
"W",
]
[tool.ruff.lint.isort]
force-single-line = true
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["S101", "S105"]