From a9b905bed1f2546357dce08db85bfe561623eb8e Mon Sep 17 00:00:00 2001 From: Daniil Kalinin Date: Fri, 31 Jan 2025 14:42:09 +0100 Subject: [PATCH] PY-31689 Update the old example code snippet to make it more representative GitOrigin-RevId: 2506514d88cec7d8845044f50e469ae43ee81eb6 --- .../python/formatter/PyLanguageCodeStyleSettingsProvider.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/python/python-syntax/src/com/jetbrains/python/formatter/PyLanguageCodeStyleSettingsProvider.java b/python/python-syntax/src/com/jetbrains/python/formatter/PyLanguageCodeStyleSettingsProvider.java index a5cd948c088b..a63df4ff876d 100644 --- a/python/python-syntax/src/com/jetbrains/python/formatter/PyLanguageCodeStyleSettingsProvider.java +++ b/python/python-syntax/src/com/jetbrains/python/formatter/PyLanguageCodeStyleSettingsProvider.java @@ -230,6 +230,10 @@ public final class PyLanguageCodeStyleSettingsProvider extends LanguageCodeStyle ) attrs = [e.attr for e in items] + + num_dict = {"one": 1, "two": 2, "three": 3, "four": 4, "five": 5} + + colors = ['red', 'green', 'blue', 'black', 'white', 'gray'] ingredients = [ 'green',