diff --git a/fusesoc/fusesoc.py b/fusesoc/fusesoc.py index 9a3a9d3c..37cc25e3 100644 --- a/fusesoc/fusesoc.py +++ b/fusesoc/fusesoc.py @@ -160,9 +160,7 @@ def get_backend(self, core, flags, backendargs=[]): except RuntimeError as e: raise RuntimeError("Setup failed : {}".format(str(e))) except DependencyError as e: - raise RuntimeError( - "Failed to resolve dependencies. " + e.msg - ) + raise RuntimeError("Failed to resolve dependencies. " + e.msg) if os.path.exists(edam_file): old_edam = yaml_fread(edam_file, self.config.resolve_env_vars_early) diff --git a/fusesoc/main.py b/fusesoc/main.py index 7318fa73..47c7fb30 100644 --- a/fusesoc/main.py +++ b/fusesoc/main.py @@ -649,7 +649,10 @@ def args_to_config(args, config): if hasattr(args, "resolve_env_vars_early") and args.resolve_env_vars_early: setattr(config, "args_resolve_env_vars_early", args.resolve_env_vars_early) - if hasattr(args, "allow_additional_properties") and args.allow_additional_properties: + if ( + hasattr(args, "allow_additional_properties") + and args.allow_additional_properties + ): setattr( config, "args_allow_additional_properties", args.allow_additional_properties )