Skip to content

ipynb/Examples: refactor riscv_gcc configs #857

ipynb/Examples: refactor riscv_gcc configs

ipynb/Examples: refactor riscv_gcc configs #857

GitHub Actions / Black failed Nov 18, 2024 in 0s

1 error

Black found 1 error

Annotations

Check failure on line 91 in /home/runner/work/mlonmcu/mlonmcu/mlonmcu/target/riscv/spike.py

See this annotation in the file changed.

@github-actions github-actions / Black

/home/runner/work/mlonmcu/mlonmcu/mlonmcu/target/riscv/spike.py#L80-L91

         **RVBTarget.DEFAULTS,
         "spikepk_extra_args": [],
     }
     REQUIRED = RVPTarget.REQUIRED | RVVTarget.REQUIRED | RVBTarget.REQUIRED
 
-    OPTIONAL = RVPTarget.OPTIONAL | RVVTarget.OPTIONAL | RVBTarget.OPTIONAL | {"spike.exe", "spike.pk", "spike.pk_rv32", "spike.pk_rv64"}
+    OPTIONAL = (
+        RVPTarget.OPTIONAL
+        | RVVTarget.OPTIONAL
+        | RVBTarget.OPTIONAL
+        | {"spike.exe", "spike.pk", "spike.pk_rv32", "spike.pk_rv64"}
+    )
 
     def __init__(self, name="spike", features=None, config=None):
         super().__init__(name, features=features, config=config)
 
     @property