-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
91 lines (80 loc) · 1.96 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
[tool.poetry]
name = "passwordless"
version = "2.0.0"
description = "Passwordless.dev Python SDK"
authors = [
"Bitwarden <[email protected]>"
]
maintainers = [
"Maciej Zieniuk <[email protected]>"
]
readme = "README.md"
license = "Apache-2.0"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"Intended Audience :: Developers",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Security",
"Topic :: Software Development :: Libraries",
"Topic :: Communications :: FIDO",
"License :: OSI Approved :: Apache Software License"
]
keywords = ["passwordless", "bitwarden"]
homepage = "https://bitwarden.com/products/passwordless"
documentation = "https://docs.passwordless.dev/guide"
[tool.poetry.dependencies]
python = ">=3.9"
requests = "^2"
marshmallow = "^3"
python-dateutil = "^2"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
python-dotenv = "1.0.1"
flake8 = "7.1.1"
black = "24.10.0"
mypy = "1.14.1"
isort = "5.13.2"
pre-commit = "4.0.1"
pre-commit-hooks = "5.0.0"
types-requests = "2.32.0.20241016"
docformatter = {extras = ["tomli"], version = "1.7.5", python = ">=3.8,<4.0"}
[tool.poetry.group.test]
optional = true
[tool.poetry.group.test.dependencies]
pytest = "8.3.4"
pytest-mock = "3.14.0"
pytest-httpserver = "1.1.0"
[tool.mypy]
python_version = "3.9"
files = ["src/passwordless"]
exclude = ["venv", "tests", "examples"]
show_error_codes = true
pretty = true
strict = true
[[tool.mypy.overrides]]
module = [
"asgiref.*",
"dotenv.*",
"cryptography.*",
"importlib_metadata",
]
ignore_missing_imports = true
[tool.black]
line-length = 79
target-version = ['py39']
include = '\.pyi?$'
[tool.isort]
profile = "black"
multi_line_output = 3
line_length = 79
[tool.docformatter]
black = true
recursive = true
wrap-descriptions = 72
wrap-summaries = 72
blank = false
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"