Auto format python, make sure it passes lint checks (#1401)

This commit is contained in:
Matt Weiden
2020-04-16 08:07:10 -07:00
committed by GitHub
parent 7e7ed74b92
commit 58e4c2489b
12 changed files with 66 additions and 78 deletions
+2 -4
View File
@@ -364,9 +364,7 @@ class CxgAdaptor(DataAdaptor):
user_anno_keys = frozenset(labels.columns.tolist()) if need_labels else frozenset()
return_keys = frozenset(fields)
label_join_index = (
frozenset([index_key]) if need_labels and (return_keys & user_anno_keys) else frozenset()
)
label_join_index = frozenset([index_key]) if need_labels and (return_keys & user_anno_keys) else frozenset()
unknown_fields = return_keys - (cxg_keys | user_anno_keys)
if unknown_fields:
@@ -376,7 +374,7 @@ class CxgAdaptor(DataAdaptor):
list((return_keys & cxg_keys) | label_join_index),
list(return_keys & user_anno_keys),
list(return_keys),
index_key
index_key,
)
def annotation_to_fbs_matrix(self, axis, fields=None, labels=None):