-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
pyproject.toml
93 lines (79 loc) · 2.46 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
[tool.poetry]
name = "kagi"
version = "0.4.0"
description = "Django app for WebAuthn and TOTP-based multi-factor authentication"
authors = [
"Justin Mayer <[email protected]>",
"Rémy Hubscher <[email protected]>",
]
license = "BSD-2-Clause"
readme = "README.rst"
keywords = ["Django", "WebAuthn", "authentication", "MFA", "2FA"]
repository = "https://github.com/justinmayer/kagi"
documentation = "https://kagi.readthedocs.io"
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
# "Programming Language :: Python :: ..." is auto-generated by poetry!
"Topic :: Security",
"Topic :: Security :: Cryptography",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[tool.poetry.urls]
"Issue Tracker" = "https://github.com/justinmayer/kagi/issues"
[tool.poetry.dependencies]
Django = ">= 2.2"
python = ">= 3.8.1, < 4.0"
qrcode = ">= 6.1, < 8.0"
webauthn = "^1.6.0"
[tool.poetry.group.dev.dependencies]
black = "^24.4"
flake8 = "^7.0"
Flake8-pyproject = "^1.2.3"
furo = "2024.04.27"
invoke = "^2.0"
isort = "^5.13"
pretend = "^1.0.9"
psutil = { version = "^5.7", optional = true }
pyOpenSSL = "^24.1"
pytest = "^8.2"
pytest-cov = "^5.0"
pytest-django = "^4.0"
pytest-sugar = "^1.0"
pytest-xdist = "^3.6"
sphinx = "^6.0"
[tool.autopub]
project-name = "Kagi"
git-username = "botpub"
git-email = "[email protected]"
append-github-contributor = true
[tool.isort]
profile = "black"
combine_as_imports = true
# Sort imports within their section independent of the import type
force_sort_within_sections = true
# Designate `django` and `kagi` as separate sections
known_django = "django"
known_kagi = "kagi"
sections = "FUTURE,STDLIB,DJANGO,THIRDPARTY,KAGI,FIRSTPARTY,LOCALFOLDER"
# Skip isort checks on these directories and files
skip_glob = "**/migrations/**,**/node_modules/**,kagi/static/**,static,*.json,*.json"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
filterwarnings = [
'ignore::DeprecationWarning:invoke.loader',
'ignore::DeprecationWarning:invoke.tasks',
]
pythonpath = 'testproj'
DJANGO_SETTINGS_MODULE = 'testproj.settings'
[tool.flake8]
ignore = ['E203', 'E501', 'W503']
max-line-length = 88