diff options
author | Jonas Ohlsson <jonas.ohlsson@arm.com> | 2022-03-30 10:30:25 +0200 |
---|---|---|
committer | Jonas Ohlsson <jonas.ohlsson@arm.com> | 2022-03-30 15:54:14 +0200 |
commit | d85750702229af97c0b0bbda6e397a23254b6144 (patch) | |
tree | 389962105a35d5cef595cfeb5d640bd59a0d0ff8 /ethosu/vela/architecture_features.py | |
parent | cc5f4de1c35ba44fca7ff6295c6ae846f8242344 (diff) | |
download | ethos-u-vela-d85750702229af97c0b0bbda6e397a23254b6144.tar.gz |
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 <jonas.ohlsson@arm.com>
Change-Id: I60056aae452093ce8dcea1f499ecced22b25eef1
Diffstat (limited to 'ethosu/vela/architecture_features.py')
-rw-r--r-- | ethosu/vela/architecture_features.py | 11 |
1 files changed, 8 insertions, 3 deletions
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) |