Skip to content

Commit 279d329

Browse files
nicklaslclaude
andcommitted
style: format with black
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 2c855ff commit 279d329

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

confidence/confidence.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,7 @@ def primitive_matches(value: FieldType, value_type: Type[Primitive]) -> bool:
5353
return (
5454
value_type is None
5555
or (value_type is int and isinstance(value, int))
56-
or (
57-
value_type is int
58-
and isinstance(value, float)
59-
and value == int(value)
60-
)
56+
or (value_type is int and isinstance(value, float) and value == int(value))
6157
or (value_type is float and isinstance(value, (float, int)))
6258
or (value_type is str and isinstance(value, str))
6359
or (value_type is bool and isinstance(value, bool))

0 commit comments

Comments
 (0)