-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
101 lines (90 loc) · 2.35 KB
/
Copy pathpyproject.toml
File metadata and controls
101 lines (90 loc) · 2.35 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
[project]
name = "etcd-client-py"
dynamic = ["version"]
description = "Yet another etcd-client API binding based on the Rust's etcd-client package"
readme = {file = "README.md", content-type = "text/markdown"}
requires-python = ">=3.10"
license = "MIT"
keywords = ["etcd", "binding", "rust", "etcd-client"]
authors = [
{name = "Sanghyeon Seo"},
{email = "seosh@lablup.com"},
{name = "Joongi Kim"},
{email = "joongi@lablup.com"},
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = []
[project.urls]
homepage = "https://github.com/lablup/etcd-client-py"
repository = "https://github.com/lablup/etcd-client-py"
[project.optional-dependencies]
test = [
"pytest>=9.0.2,<10",
"pytest-asyncio>=1.3.0,<2",
"trafaret>=2.1,<3",
"testcontainers>=4.13.3,<5",
]
dev = [
"maturin>=1.11,<2.0",
"ruff>=0.14.10",
"mypy>=1.19.1",
]
[build-system]
requires = ["maturin>=1.11,<2.0"]
build-backend = "maturin"
[tool.maturin]
python-source = "python"
# === Tool Configuration ===
[tool.ruff]
target-version = "py310"
line-length = 100
extend-exclude = ["*.pyi"]
preview = true
[tool.ruff.lint]
preview = true
ignore = [
"E501", # Line too long (formatter handles)
]
[tool.ruff.lint.isort]
known-first-party = ["etcd_client", "tests"]
section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"]
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true
strict_equality = true
extra_checks = true
check_untyped_defs = true
disallow_untyped_calls = false
disallow_untyped_defs = false
disallow_incomplete_defs = true
disallow_untyped_decorators = false
show_error_codes = true
show_column_numbers = true
pretty = true
explicit_package_bases = true
namespace_packages = true
[[tool.mypy.overrides]]
module = [
"trafaret.*",
"testcontainers.*",
"pytest.*",
]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "tests.*"
disallow_incomplete_defs = false
no_implicit_optional = false
disable_error_code = ["union-attr"]