Add the ability to set 'inherit' at all levels of the options cascade

This commit is contained in:
Joe Rickerby
2026-06-26 13:20:01 +01:00
parent 291be6a345
commit 077d334118
4 changed files with 215 additions and 56 deletions
+5 -1
View File
@@ -472,7 +472,11 @@ test-command = "pyproject-override"
)
with pytest.raises(OptionsReaderError):
OptionsReader(config_file_path=pyproject_toml, platform=cast("Any", platform), env={})
print(
OptionsReader(
config_file_path=pyproject_toml, platform=cast("Any", platform), env={}
).overrides
)
def test_config_settings(tmp_path: Path) -> None: