diff --git a/gendiff/formatters/plain.py b/gendiff/formatters/plain.py index dff10d1..f57622b 100644 --- a/gendiff/formatters/plain.py +++ b/gendiff/formatters/plain.py @@ -55,7 +55,7 @@ def iter_recursive(data, path=''): case "nested": result.extend(iter_recursive(item["children"], - path=item_name)) + path=item_name)) result = sorted(result) return result diff --git a/gendiff/formatters/stylish.py b/gendiff/formatters/stylish.py index 0625813..e5e5c4c 100644 --- a/gendiff/formatters/stylish.py +++ b/gendiff/formatters/stylish.py @@ -1,6 +1,6 @@ -INDENT_SYMBOL=" " -INDENT_SIZE=4 -SHIFT_SIZE=2 +INDENT_SYMBOL = " " +INDENT_SIZE = 4 +SHIFT_SIZE = 2 def prepare_value(value):