From d85750702229af97c0b0bbda6e397a23254b6144 Mon Sep 17 00:00:00 2001 From: Jonas Ohlsson Date: Wed, 30 Mar 2022 10:30:25 +0200 Subject: Update version of Black to 22.3.0 Update version of Black to 22.3.0 due to updated dependencies. Updates to fix reported issues due to new version. Signed-off-by: Jonas Ohlsson Change-Id: I60056aae452093ce8dcea1f499ecced22b25eef1 --- ethosu/vela/architecture_features.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'ethosu/vela/architecture_features.py') diff --git a/ethosu/vela/architecture_features.py b/ethosu/vela/architecture_features.py index e79ed720..08ff260c 100644 --- a/ethosu/vela/architecture_features.py +++ b/ethosu/vela/architecture_features.py @@ -647,7 +647,9 @@ class ArchitectureFeatures: else: raise CliOptionError( - "--system-config", self.system_config, f"Section {sys_cfg_section} not found in Vela config file", + "--system-config", + self.system_config, + f"Section {sys_cfg_section} not found in Vela config file", ) # read the memory mode @@ -678,7 +680,9 @@ class ArchitectureFeatures: else: raise CliOptionError( - "--memory-mode", self.memory_mode, f"Section {mem_mode_section} not found in Vela config file", + "--memory-mode", + self.memory_mode, + f"Section {mem_mode_section} not found in Vela config file", ) # override sram to onchipflash @@ -777,7 +781,8 @@ class ArchitectureFeatures: # check for recursion loop if inheritance_section == section: raise ConfigOptionError( - "inherit", f"{inheritance_section}. This references its own section and recursion is not allowed", + "inherit", + f"{inheritance_section}. This references its own section and recursion is not allowed", ) result = self._read_config(inheritance_section, key, result, found) -- cgit v1.2.1