-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (63 loc) · 1.61 KB
/
pyproject.toml
File metadata and controls
73 lines (63 loc) · 1.61 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
[build-system]
requires = ["uv_build~=0.10.0"]
build-backend = "uv_build"
[project]
name = "openfeature-provider-flipt"
version = "0.2.0"
description = "OpenFeature provider for the Flipt feature flagging service"
readme = "README.md"
authors = [{ name = "OpenFeature", email = "openfeature-core@groups.io" }]
license = "Apache-2.0"
license-files = ["LICENSE"]
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
]
keywords = []
dependencies = [
"openfeature-sdk>=0.7.0",
"openfeature-provider-ofrep>=0.2.0",
]
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",
"requests-mock>=1.12.0,<2.0.0",
"types-requests>=2.32.0,<3.0.0",
]
[tool.uv.build-backend]
module-name = "openfeature"
module-root = "src"
namespace = true
[tool.coverage.run]
omit = [
"tests/**",
]
[tool.mypy]
mypy_path = "src"
files = "src"
python_version = "3.10" # should be identical to the minimum supported version
namespace_packages = true
explicit_package_bases = true
local_partial_types = true # will become the new default from version 2
allow_redefinition_new = true # will become the new default from version 2
fixed_format_cache = true # new caching mechanism
pretty = true
strict = true
disallow_any_generics = false
[tool.pytest]
strict = true
[tool.poe.tasks]
test = "pytest tests"
test-cov = "coverage run -m pytest tests"
cov-report = "coverage xml"
cov = [
"test-cov",
"cov-report"
]
mypy = "mypy"