junepark678 / GIRRewrite

Whitespace after opening parenthesis detected FLK-E201
Style
Minor
a year agoa year old
whitespace after '('
1459                    "index": index
1460                }
1461            )
1462        embed = discord.Embed(  title=loc["messages"]["search_title"].format(originalkeyword),1463                                description=loc["messages"]["search_desc"],
1464                                color=discord.Color.green())
1465        # For each song, combine the details to a string
whitespace after '['
159    for device in devices:
160        ident = device.get("devices")[0]
161        # detailed = all_devices.get(ident)
162        detailed = [ td for td in all_devices if td.get('identifer') == ident ]163        if detailed:
164            detailed = detailed[0]
165            released = detailed.get('released') or '-1'
whitespace after '['
120    for device in devices:
121        ident = device.get("devices")[0]
122        # detailed = all_devices.get(ident)
123        detailed = [ td for td in all_devices if td.get('identifer') == ident ]124        if detailed:
125            detailed = detailed[0]
126            released = detailed.get('released') or '-1'
whitespace after '['
58        firmware = version.get("version")
59        firmware = re.sub(r' beta (\d+)', r'b\1', firmware)
60        device_id = device.get("devices")[0]
61        detailed_device = [ d for d in response.get("device") if d.get('key') == device_id ][0]62        name = detailed_device["soc"]
63        new_nick = f"{new_nick} [{name}, {firmware}]"
64