Skip to content

Commit a4cdbd5

Browse files
committed
Apply suggestions from code review
1 parent 78de492 commit a4cdbd5

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):
@@ -511,9 +511,7 @@ class ScikitBuildSettings:
511511

512512
fail: Optional[bool] = dataclasses.field(
513513
default=None,
514-
metadata=SettingsFieldMetadata(
515-
override_only=True,
516-
),
514+
metadata=SettingsFieldMetadata(override_only=True),
517515
)
518516
"""
519517
Immediately fail the build. This is only useful in overrides.

0 commit comments

Comments
 (0)