Skip to content

Commit 7bcb8ac

Browse files
author
Ben Rowland
committed
chore: update example code in CONTRIBUTING.md
1 parent bcf1185 commit 7bcb8ac

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/CONTRIBUTING.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,9 @@ usable as:
189189
```python
190190
from scikit_build_core.settings.skbuild_settings import SettingsReader
191191

192-
settings_reader = SettingsReader(Path("pyproject.toml"), config_settings or {})
192+
settings_reader = SettingsReader.from_file(
193+
Path("pyproject.toml"), config_settings or {}
194+
)
193195
setting = settings_reader.settings
194196
assert settings.cmake.minimum_version == "3.15"
195197
assert settings.ninja.minimum_version == "1.5"

0 commit comments

Comments
 (0)