From 077c4d2bc18c37eb1a3619146ef68d478b3b314b Mon Sep 17 00:00:00 2001 From: vito Date: Mon, 18 Nov 2024 21:00:03 +0700 Subject: [PATCH] d --- gendiff/formatters/plain_format.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gendiff/formatters/plain_format.py b/gendiff/formatters/plain_format.py index 6952049..d9584b9 100644 --- a/gendiff/formatters/plain_format.py +++ b/gendiff/formatters/plain_format.py @@ -1,7 +1,7 @@ def format_value(value): if isinstance(value, dict): return '[complex value]' - if value == 'false' or value == 'true' or value == 'null': + if value == 'false' or value == 'true' or value == 'null' or type(value) is int: # noqa return value else: return f"'{value}'"