3 Commits

Author SHA1 Message Date
e0fb498a67 readd fail-on-missing
set min hatch-dotenv version
2026-04-20 14:05:14 +01:00
d83594760c remove fail-on-missing 2026-03-28 22:12:56 +00:00
46a85f2904 remove env-include 2026-03-28 08:38:57 +00:00

View File

@@ -22,7 +22,7 @@ path = "obsws_python/version.py"
include = ["/obsws_python"] include = ["/obsws_python"]
[tool.hatch.env] [tool.hatch.env]
requires = ["hatch-dotenv"] requires = ["hatch-dotenv>=0.1.4"]
[tool.hatch.env.collectors.dotenv.e] [tool.hatch.env.collectors.dotenv.e]
env-files = [".env"] env-files = [".env"]
@@ -37,7 +37,7 @@ dependencies = ["pre-commit"]
[tool.hatch.envs.e] [tool.hatch.envs.e]
dependencies = ["keyboard"] dependencies = ["keyboard"]
env-include = ["OBSWS_*"] # env-include = ["OBSWS_*"] # causes issues on Windows.
[tool.hatch.envs.e.scripts] [tool.hatch.envs.e.scripts]
events = "python -m examples.events" events = "python -m examples.events"
@@ -47,7 +47,7 @@ scene-rotate = "python -m examples.scene_rotate"
[tool.hatch.envs.hatch-test] [tool.hatch.envs.hatch-test]
randomize = true randomize = true
env-include = ["OBSWS_*"] # env-include = ["OBSWS_*"] # causes issues on Windows.
[tool.hatch.envs.hatch-test.scripts] [tool.hatch.envs.hatch-test.scripts]
run = "pytest{env:HATCH_TEST_ARGS:} {args}" run = "pytest{env:HATCH_TEST_ARGS:} {args}"