Skip to content

Commit abec4f6

Browse files
committed
Add basic env var provider
Signed-off-by: christian.lutnik <[email protected]>
1 parent 1179f5d commit abec4f6

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

providers/openfeature-provider-env-var/pyproject.toml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ dev = [
2424
]
2525

2626
[tool.hatch.build.targets.wheel]
27-
packages = ["."]
27+
packages = ["src/openfeature"]
2828

2929
[tool.pytest.ini_options]
3030
testpaths = ["tests"]
@@ -33,5 +33,16 @@ python_functions = "test_*"
3333

3434
[tool.hatch]
3535

36+
pre-install-commands = [
37+
"hatch build",
38+
]
39+
40+
[tool.hatch.envs.mypy.scripts]
41+
run = "mypy"
42+
3643
[tool.hatch.envs.mypy]
3744
dependencies = ["mypy"]
45+
46+
[tool.mypy]
47+
mypy_path = "src"
48+
files = "src"

0 commit comments

Comments
 (0)