Skip to content

Commit

Permalink
Update deploy.py
Browse files Browse the repository at this point in the history
Ignore inconsistent quotes on 2 lines to avoid unnecessary escape sequences
  • Loading branch information
jmichelp authored Apr 30, 2024
1 parent c07f645 commit f58cf1c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ def _build_app_or_example(self, is_example: bool):

command = [
"cargo", "build", "--release", f"--target={props.arch}",
f"--features={','.join(self.args.features)}"
f"--features={','.join(self.args.features)}" # pylint: disable:W1405
]
if is_example:
command.extend(["--example", self.args.application])
Expand All @@ -439,7 +439,8 @@ def _check_invariants(self):
features = ["std"]
features.extend(self.args.features)
self.checked_command_output([
"cargo", "test", f"--features={','.join(features)}", "--lib",
"cargo", "test",
f"--features={','.join(features)}", "--lib", # pylint: disable:W1405
"customization"
])

Expand Down

0 comments on commit f58cf1c

Please sign in to comment.