[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:
practicalswift
2016-01-16 00:43:59 +01:00
parent 2fa08e3e30
commit 22d043fcc0
23 changed files with 70 additions and 61 deletions

View File

@@ -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):