@@ -72,10 +72,7 @@ def format_row(row):
7272 "_internal-strict-mode" ,
7373]
7474
75- discard_inputs = [
76- "use-flakehub"
77-
78- ]
75+ discard_inputs = ["use-flakehub" ]
7976
8077result = {
8178 "name" : "FlakeHub Cache" ,
@@ -109,10 +106,10 @@ def format_row(row):
109106with open (state_file ) as fp :
110107 state = json .load (fp )
111108eprintln (f"State: { state } " )
112- checkout_action_tag = state [' checkout_action_tag' ]
113- upstream_action_revision = state [' upstream_action_revision' ]
114- binary_revision = state [' binary_revision' ]
115- self_version_minor = state [' self_version' ]
109+ checkout_action_tag = state [" checkout_action_tag" ]
110+ upstream_action_revision = state [" upstream_action_revision" ]
111+ binary_revision = state [" binary_revision" ]
112+ self_version_minor = state [" self_version" ]
116113self_version_major = self_version_minor .split ("." )[0 ]
117114
118115# these are printed in argument order
@@ -125,8 +122,6 @@ def format_row(row):
125122eprintln (f"Target readme: { output_readme } " )
126123
127124
128-
129-
130125with open (source_file ) as fp :
131126 source = json .load (fp )
132127
@@ -185,7 +180,9 @@ def format_row(row):
185180 result ["inputs" ]["source-revision" ]["default" ] = binary_revision
186181except KeyError as e :
187182 pprint (e )
188- faults .append (f"Input action has no source-revision input, or it is not in the keep_inputs list: { e } " )
183+ faults .append (
184+ f"Input action has no source-revision input, or it is not in the keep_inputs list: { e } "
185+ )
189186
190187# Generate a README from the inputs
191188table = make_inputs_table (result ["inputs" ])
0 commit comments