Skip to content

[CI] .github/workflows/demo.yml: allow chooing script name for demo #47

[CI] .github/workflows/demo.yml: allow chooing script name for demo

[CI] .github/workflows/demo.yml: allow chooing script name for demo #47

GitHub Actions / Black failed Mar 28, 2024 in 0s

2 errors

Black found 2 errors

Annotations

Check failure on line 77 in /home/runner/work/seal5/seal5/examples/gen_demo.py

See this annotation in the file changed.

@github-actions github-actions / Black

/home/runner/work/seal5/seal5/examples/gen_demo.py#L60-L77

 )
 
 # Load CoreDSL inputs
 cdsl_files = [
     # EXAMPLES_DIR / "cdsl" / "rv_gen" / "all_v7.core_desc",
-    EXAMPLES_DIR / "cdsl" / "rv_gen" / "all_v9.core_desc",
+    EXAMPLES_DIR
+    / "cdsl"
+    / "rv_gen"
+    / "all_v9.core_desc",
 ]
 seal5_flow.load(cdsl_files, verbose=VERBOSE, overwrite=True)
 
 # Load test inputs
-test_files = [
-]
+test_files = []
 seal5_flow.load(test_files, verbose=VERBOSE, overwrite=True)
 
 # Load YAML inputs
 cfg_files = [
     # GENERATED

Check failure on line 172 in /home/runner/work/seal5/seal5/seal5/flow.py

See this annotation in the file changed.

@github-actions github-actions / Black

/home/runner/work/seal5/seal5/seal5/flow.py#L161-L172

             ("collect_immediate_operands", passes.collect_immediate_operands, {}),
             ("collect_operand_types", passes.collect_operand_types, {}),
             ("detect_side_effects", passes.detect_side_effects, {}),
             ("detect_inouts", passes.detect_inouts, {}),
             ("detect_registers", passes.detect_registers, {}),
-            ("write_cdsl_full", passes.write_cdsl, {"split": False, "compat": False})
+            ("write_cdsl_full", passes.write_cdsl, {"split": False, "compat": False}),
             # TODO: determine static constraints (xlen,...) -> subtargetvmap
             # detect memory adressing modes
             # self.detect_adressing_modes(verbose)  # TODO
             # detect legal GMIR ops (and map to selectiondag?)
             # self.detect_legal_ops(verbose=verbose)  # TODO