Skip to content

add missing file: seal5/tools/git.py #54

add missing file: seal5/tools/git.py

add missing file: seal5/tools/git.py #54

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

2 errors

Black found 2 errors

Annotations

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

Check failure on line 244 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#L233-L244

                 self.directory, clone_url, ref=clone_ref, label=self.name, git_settings=self.settings.git
             )
         else:
             if force:
                 self.repo, sha, version_info = llvm.clone_llvm_repo(
-                    self.directory, clone_url, ref=clone_ref, refresh=True, label=self.name, git_settings=self.settings.git
+                    self.directory,
+                    clone_url,
+                    ref=clone_ref,
+                    refresh=True,
+                    label=self.name,
+                    git_settings=self.settings.git,
                 )
         if self.settings.meta_dir.is_dir():
             if force is False and not utils.ask_user(
                 "Overwrite existing .seal5 diretcory?", default=False, interactive=interactive
             ):