-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
113 lines (99 loc) · 2.49 KB
/
pyproject.toml
File metadata and controls
113 lines (99 loc) · 2.49 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
[project]
name = "zitadel_client"
description = "Official Zitadel SDK for Python. Authenticate and access Zitadel's authentication and management APIs in Python."
license = { text = "Apache-2.0" }
readme = "README.md"
requires-python = ">=3.10"
authors = [
{ name = "Mridang Agarwalla", email = "mridang@zitadel.com" }
]
version = "4.1.0b10"
keywords = ["sdk", "iam", "client-lib", "client-library", "sdk-python", "zitadel", "zitadel-sdk"]
classifiers = [
"Topic :: Software Development :: Libraries"
]
dependencies = [
"urllib3>=1.25.3,<3.0.0",
"python-dateutil>=2.8.2",
"pydantic>=2",
"typing-extensions>=4.7.1",
"authlib>=1.3.2,<2.0.0",
"requests>=2.32.4,<3.0.0",
]
[project.urls]
homepage = "https://zitadel.com/"
repository = "https://github.com/zitadel/client-python"
documentation = "https://github.com/zitadel/client-python"
"Bug Tracker" = "https://github.com/zitadel/client-python/issues"
[dependency-groups]
dev = [
"cryptography>=44.0.1,<47.0.0",
"pytest>=7.2.1",
"pytest-cov>=2.8.1",
"tox>=3.9.0",
"types-python-dateutil>=2.8.19.14",
"testcontainers==3.7.1",
"python-dotenv==1.1.1",
"ruff>=0.12.4",
"sphinx==7.4.7",
"fawltydeps==0.19.0",
"ty>=0.0.4",
]
[build-system]
requires = ["setuptools>=69"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["zitadel_client*"]
[tool.setuptools.package-data]
zitadel_client = ["py.typed"]
[tool.setuptools]
include-package-data = true
[tool.tox]
envlist = ["py310", "py311", "py312"]
[tool.pytest.ini_options]
cache_dir = ".pytest"
testpaths = ["test", "spec"]
python_files = "test_*.py *_spec.py"
addopts = [
"--cov=zitadel_client",
"--cov-report=html:build/coverage/html",
"--cov-report=xml:build/coverage/clover.xml",
"--cov-report=term",
]
junit_family = "legacy"
[tool.coverage.run]
data_file = "build/coverage/.coverage"
omit = [
"zitadel_client/api/*",
"zitadel_client/models/*"
]
[tool.ruff]
cache-dir = ".ruff"
line-length = 130
fix = true
target-version = "py310"
exclude = [
"zitadel_client/api/*",
"zitadel_client/models/*"
]
[tool.ruff.lint]
select = ["E", "F", "I", "B", "C", "N", "Q", "S", "T"]
extend-select = ["A"]
ignore = ["S101"] # Ignore assert statements
[tool.fawltydeps]
ignore_unused = [
"fawltydeps",
"pytest-cov",
"ruff",
"sphinx",
"tox",
"requests",
"ty"
]
[tool.ty.environment]
python-version = "3.10"
root = ["."]
[tool.ty.src]
respect-ignore-files = true
include = ["zitadel_client"]
exclude = ["zitadel_client/api/**", "zitadel_client/models/**"]