-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
94 lines (79 loc) · 2.31 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
[tool.poetry]
name = "descope"
version = "0.0.dev3"
description = "Descope Python SDK"
authors = ["Descope <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "https://descope.com/"
repository = "https://github.com/descope/python-sdk"
documentation = "https://docs.descope.com"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
packages = [{ include = "descope" }]
[tool.poetry.extras]
Flask = ["Flask"]
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/descope/python-sdk/issues"
[tool.poetry.dependencies]
python = ">=3.8.1,<4.0"
requests = ">=2.27.0"
pyjwt = { version = ">=2.4.0", extras = ["crypto"] }
email-validator = [{ version = ">=2,<3", python = ">=3.8" }]
liccheck = "^0.9.1"
Flask = ">=2"
[tool.poetry.group.dev.dependencies]
mock = "5.1.0"
pre-commit = [
{ version = "<3.0.0", python = "<3.9" },
{ version = "3.6.0", python = ">=3.9" },
]
flake8 = "7.1.1"
flake8-pyproject = "1.2.3"
flake8-bugbear = "24.8.19"
liccheck = "0.9.2"
isort = "5.13.2"
pep8-naming = "0.14.1"
tox = "4.23.0"
[tool.poetry.group.format.dependencies]
black = [
{ version = "<24.10.0", python = "<3.9" },
{ version = "24.10.0", python = ">=3.9" },
]
[tool.poetry.group.types.dependencies]
mypy = "1.11.2"
types-requests = "2.32.0.20240914"
types-setuptools = "75.1.0.20240917"
[tool.poetry.group.tests.dependencies]
pytest = "8.3.3"
coverage = { version = "^7.3.1", extras = ["toml"] }
[build-system]
requires = ["poetry-core>=1.1.0"]
build-backend = "poetry.core.masonry.api"
[tool.coverage.run]
relative_files = true
source = ["descope"]
omit = ["descope/flask/*"]
[tool.coverage.report]
fail_under = 98
skip_covered = true
skip_empty = true
[tool.isort]
profile = "black"
[tool.flake8]
per-file-ignores = "__init__.py:F401"
ignore = "E501,N818,W503"
max-line-length = 120