Merge branch 'develop' into feature-memgraph #786
GitHub Actions / Black
failed
Sep 11, 2024 in 0s
2 errors
Black found 2 errors
Annotations
Check failure on line 2252 in /home/runner/work/mlonmcu/mlonmcu/mlonmcu/feature/features.py
github-actions / Black
/home/runner/work/mlonmcu/mlonmcu/mlonmcu/feature/features.py#L2236-L2252
def __init__(self, features=None, config=None):
super().__init__("memgraph_llvm_cdfg", features=features, config=config)
def get_platform_defs(self, platform):
assert platform in ["mlif"]
- return filter_none({
- "MEMGRAPH_LLVM_CDFG": self.enabled,
- "MEMGRAPH_LLVM_CDFG_HOST": None, # TODO
- "MEMGRAPH_LLVM_CDFG_PORT": None, # TODO
- "MEMGRAPH_LLVM_CDFG_PURGE": None, # TODO
- })
+ return filter_none(
+ {
+ "MEMGRAPH_LLVM_CDFG": self.enabled,
+ "MEMGRAPH_LLVM_CDFG_HOST": None, # TODO
+ "MEMGRAPH_LLVM_CDFG_PORT": None, # TODO
+ "MEMGRAPH_LLVM_CDFG_PURGE": None, # TODO
+ }
+ )
@register_feature("global_isel")
class GlobalIsel(PlatformFeature):
"""TODO"""
Check failure on line 2266 in /home/runner/work/mlonmcu/mlonmcu/mlonmcu/feature/features.py
github-actions / Black
/home/runner/work/mlonmcu/mlonmcu/mlonmcu/feature/features.py#L2253-L2266
def __init__(self, features=None, config=None):
super().__init__("global_isel", features=features, config=config)
def get_platform_defs(self, platform):
assert platform in ["mlif"]
- return filter_none({
- "GLOBAL_ISEL": self.enabled,
- })
+ return filter_none(
+ {
+ "GLOBAL_ISEL": self.enabled,
+ }
+ )
+
@register_feature("gen_data")
class GenData(FrontendFeature): # TODO: use custom stage instead of LOAD
"""Generate input data for validation."""
Loading