Skip to content

Commit 235fddd

Browse files
lint,flake8: fix flake8 errors
1 parent 939b2e3 commit 235fddd

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/outpost/barbican/_internals/cargo_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# SPDX-License-Identifier: Apache-2.0
44

5-
"""Generate a .cargo/config.toml per cargo app
5+
"""Generate a .cargo/config.toml per cargo app.
66
77
Add target specific and per apps compile flags in a config.
88
"""

src/outpost/barbican/_internals/cargo_install.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# SPDX-License-Identifier: Apache-2.0
44

5-
"""Generate a .cargo/config.toml per cargo app
5+
"""Generate a .cargo/config.toml per cargo app.
66
77
Add target specific and per apps compile flags in a config.
88
"""

src/outpost/barbican/buildsys/ninja_backend.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ def add_cargo_package(self, package: "Package") -> None:
302302
"cmd": "cargo_config",
303303
"args": f"--rustargs-file={str(package._parent._kernel.rustargs)} "
304304
+ f"--target-file={str(package._parent._kernel.rust_target)} "
305-
+ f'--extra-args="'
305+
+ '--extra-args="'
306306
+ " ".join(package.build_options)
307307
+ '" '
308308
+ f"{str(package.build_dir)}",
@@ -340,7 +340,7 @@ def add_cargo_package(self, package: "Package") -> None:
340340
implicit=f"{package.name}_compile",
341341
variables={
342342
"cmd": "cargo_install",
343-
"args": f"--suffix=.elf "
343+
"args": "--suffix=.elf "
344344
+ f"--target-file={str(package._parent._kernel.rust_target)} "
345345
+ f"{str(package.build_dir)} "
346346
+ " ".join((str(t.with_suffix("")) for t in package.installed_targets)),

0 commit comments

Comments
 (0)