-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (71 loc) · 1.98 KB
/
pyproject.toml
File metadata and controls
84 lines (71 loc) · 1.98 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
[build-system]
requires = ["setuptools>=75.0"]
build-backend = "setuptools.build_meta"
[project]
name = "opendecree"
version = "0.2.0a1"
description = "Python SDK for OpenDecree — schema-driven configuration management (alpha)"
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.11"
authors = [
{ name = "Zeev Dreifuss" },
]
keywords = ["config", "configuration", "decree", "grpc", "schema", "management"]
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Typing :: Typed",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"grpcio>=1.68.0,<2",
"protobuf>=6.31.0,<7",
"googleapis-common-protos>=1.66.0,<2",
]
[project.optional-dependencies]
dev = [
"pytest>=8.3",
"pytest-cov>=6.0",
"pytest-asyncio>=1.3.0",
"mypy>=1.14",
"mypy-protobuf>=3.6",
"ruff>=0.8",
"grpcio-tools>=1.68.0",
]
[project.urls]
Homepage = "https://github.com/opendecree/decree-python"
Documentation = "https://github.com/opendecree/decree"
Repository = "https://github.com/opendecree/decree-python"
Issues = "https://github.com/opendecree/decree-python/issues"
[tool.setuptools.packages.find]
where = ["src"]
[tool.ruff]
target-version = "py311"
line-length = 100
exclude = ["src/opendecree/_generated"]
[tool.ruff.lint]
select = ["E", "F", "I", "N", "UP", "B", "RUF"]
[tool.ruff.lint.per-file-ignores]
"src/opendecree/_generated/**" = ["ALL"]
"src/opendecree/__init__.py" = ["E402"]
"tests/**" = ["S101"]
[tool.mypy]
python_version = "3.11"
strict = true
[[tool.mypy.overrides]]
module = "opendecree._generated.*"
ignore_errors = true
[[tool.mypy.overrides]]
module = "grpc.*"
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
[tool.coverage.run]
source = ["opendecree"]
omit = ["src/opendecree/_generated/*"]
[tool.coverage.report]
fail_under = 95