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: * blank line at end of file * closing bracket does not match indentation of opening bracket's line * continuation line over-indented for hanging indent * continuation line over-indented for visual indent * continuation line unaligned for hanging indent * inline comment should start with '# ' * missing whitespace around arithmetic operator * missing whitespace around bitwise or shift operator * multiple imports on one line * multiple spaces after ':' * multiple spaces after operator
This commit is contained in:
@@ -400,9 +400,9 @@ functionList = [
|
||||
|
||||
# ("sourcekitd_send_request",
|
||||
|
||||
("sourcekitd_send_request_sync",
|
||||
[Object],
|
||||
c_object_p),
|
||||
("sourcekitd_send_request_sync",
|
||||
[Object],
|
||||
c_object_p),
|
||||
|
||||
# ("sourcekitd_set_interrupted_connection_handler",
|
||||
|
||||
@@ -426,8 +426,8 @@ functionList = [
|
||||
c_char_p),
|
||||
|
||||
("sourcekitd_variant_array_apply_f",
|
||||
[Variant, callbacks['array_applier'], py_object],
|
||||
c_bool),
|
||||
[Variant, callbacks['array_applier'], py_object],
|
||||
c_bool),
|
||||
|
||||
|
||||
("sourcekitd_variant_array_get_bool",
|
||||
@@ -459,8 +459,8 @@ functionList = [
|
||||
c_bool),
|
||||
|
||||
("sourcekitd_variant_dictionary_apply_f",
|
||||
[Variant, callbacks['dictionary_applier'], py_object],
|
||||
c_bool),
|
||||
[Variant, callbacks['dictionary_applier'], py_object],
|
||||
c_bool),
|
||||
|
||||
("sourcekitd_variant_dictionary_get_bool",
|
||||
[Variant, UIdent],
|
||||
@@ -501,7 +501,7 @@ functionList = [
|
||||
("sourcekitd_variant_uid_get_value",
|
||||
[Variant],
|
||||
c_object_p),
|
||||
]
|
||||
]
|
||||
|
||||
|
||||
class LibsourcekitdError(Exception):
|
||||
|
||||
Reference in New Issue
Block a user