mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[gardening] Fix violations of non-controversial PEP8 rules
Fixes:
* multiple statements on one line (colon) (E701)
* missing whitespace around arithmetic operator (E226)
* missing whitespace around operator (E225)
* closing bracket does not match visual indentation (E124)
* blank line contains whitespace (W293)
* continuation line missing indentation or outdented (E122)
* continuation line over-indented for hanging indent (E126)
* missing expected blank line (E301)
* trailing whitespace (W291)
* unexpected spaces around keyword / parameter equals (E251)
* whitespace after '(', '[' or '{' (E201)
* whitespace before ')', ']' or '}' (E202)
* whitespace before ',' or ':' (E203)
This commit is contained in:
@@ -398,7 +398,7 @@ functionList = [
|
||||
[Response],
|
||||
c_bool),
|
||||
|
||||
# ("sourcekitd_send_request",
|
||||
# ("sourcekitd_send_request",
|
||||
|
||||
("sourcekitd_send_request_sync",
|
||||
[Object],
|
||||
@@ -469,19 +469,19 @@ functionList = [
|
||||
("sourcekitd_variant_dictionary_get_int64",
|
||||
[Variant, UIdent],
|
||||
c_int64),
|
||||
|
||||
|
||||
("sourcekitd_variant_dictionary_get_string",
|
||||
[Variant, UIdent],
|
||||
c_char_p),
|
||||
|
||||
|
||||
("sourcekitd_variant_dictionary_get_value",
|
||||
[Variant, UIdent],
|
||||
Variant),
|
||||
|
||||
|
||||
("sourcekitd_variant_dictionary_get_uid",
|
||||
[Variant, UIdent],
|
||||
c_object_p),
|
||||
|
||||
|
||||
("sourcekitd_variant_get_type",
|
||||
[Variant],
|
||||
VariantType.from_id),
|
||||
|
||||
Reference in New Issue
Block a user