-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathpyproject.toml
More file actions
83 lines (73 loc) · 1.9 KB
/
pyproject.toml
File metadata and controls
83 lines (73 loc) · 1.9 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
[build-system]
requires = ["uv_build~=0.9.0"]
build-backend = "uv_build"
[project]
name = "openfeature-flagd-core"
version = "1.0.0"
description = "OpenFeature flagd evaluator core implementation"
readme = "README.md"
authors = [{ name = "OpenFeature", email = "openfeature-core@groups.io" }]
license = { file = "LICENSE" }
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
]
keywords = []
dependencies = [
"openfeature-flagd-api>=1.0.0,<2",
"openfeature-sdk>=0.8.2",
"mmh3>=5.0.0,<6.0.0",
"panzi-json-logic==1.0.1",
"semver>=3,<4",
]
requires-python = ">=3.10"
[project.urls]
Homepage = "https://github.com/open-feature/python-sdk-contrib"
[dependency-groups]
dev = [
"coverage[toml]>=7.10.0,<8.0.0",
"mypy>=1.18.0,<2.0.0",
"poethepoet>=0.37.0",
"pytest>=9.0.0,<10.0.0",
"pytest-bdd>=8.1.0,<9.0.0",
"openfeature-flagd-api-testkit",
]
[tool.uv.sources]
openfeature-flagd-api = { workspace = true }
openfeature-flagd-api-testkit = { workspace = true }
[tool.uv.build-backend]
module-name = "openfeature"
module-root = "src"
namespace = true
[tool.mypy]
mypy_path = "src"
files = "src"
python_version = "3.10"
namespace_packages = true
explicit_package_bases = true
local_partial_types = true
allow_redefinition_new = true
fixed_format_cache = true
pretty = true
strict = true
disallow_any_generics = false
[[tool.mypy.overrides]]
module = [
"json_logic.*",
]
ignore_missing_imports = true
[tool.pytest.ini_options]
addopts = "-m 'not fractional-v1'"
[tool.coverage.run]
omit = ["tests/**"]
[tool.poe.tasks]
sync-test-harness = "python ../openfeature-flagd-api-testkit/hatch_build_sync.py"
test = ["sync-test-harness", {cmd = "pytest tests"}]
test-cov = ["sync-test-harness", {cmd = "coverage run -m pytest tests"}]
cov-report = "coverage xml"
cov = [
"test-cov",
"cov-report"
]
mypy = "mypy"