Skip to content

Commit 982f3fc

Browse files
authored
Apply suggestions from code review
1 parent 404adc4 commit 982f3fc

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/scikit_build_core/settings/skbuild_model.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class SettingsFieldMetadata(TypedDict, total=False):
3434
display_default: Optional[str]
3535
deprecated: bool
3636
override_only: bool
37-
"""Do not allow the field to be a top-level table."""
37+
"""Do not allow the field to be a top-level table."""
3838

3939

4040
class CMakeSettingsDefine(str):
@@ -509,9 +509,7 @@ class ScikitBuildSettings:
509509

510510
fail: Optional[bool] = dataclasses.field(
511511
default=None,
512-
metadata=SettingsFieldMetadata(
513-
override_only=True,
514-
),
512+
metadata=SettingsFieldMetadata(override_only=True),
515513
)
516514
"""
517515
Immediately fail the build. This is only useful in overrides.

0 commit comments

Comments
 (0)