Skip to content

Commit 138fd59

Browse files
committed
chore(ruff): replace 'type(x) == bool' with 'type(x) is bool'
1 parent 6e2f239 commit 138fd59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roundup/rest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2649,7 +2649,7 @@ def format_dispatch_output(self, accept_mime_type, output,
26492649
pass
26502650
elif hasattr(val, 'isoformat'): # datetime
26512651
pass
2652-
elif type(val) == bool:
2652+
elif type(val) is bool:
26532653
pass
26542654
elif isinstance(val, dict):
26552655
pass

0 commit comments

Comments
 (0)