scripts: west_commands: simulate: Fix linter issues
Fix issues reported by ruff. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
parent
b9fb5d79e4
commit
62ea066794
2 changed files with 2 additions and 6 deletions
|
@ -1117,10 +1117,6 @@
|
|||
"UP008", # https://docs.astral.sh/ruff/rules/super-call-with-parameters
|
||||
"UP032", # https://docs.astral.sh/ruff/rules/f-string
|
||||
]
|
||||
"./scripts/west_commands/simulate.py" = [
|
||||
"I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
|
||||
"UP008", # https://docs.astral.sh/ruff/rules/super-call-with-parameters
|
||||
]
|
||||
"./scripts/west_commands/spdx.py" = [
|
||||
"F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
|
||||
"I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
from west.commands import WestCommand
|
||||
from run_common import add_parser_common, do_run_common
|
||||
from west.commands import WestCommand
|
||||
|
||||
EXPORT_DESCRIPTION = '''\
|
||||
Simulate the board on a runner of choice using generated artifacts.
|
||||
|
@ -13,7 +13,7 @@ Simulate the board on a runner of choice using generated artifacts.
|
|||
class Simulate(WestCommand):
|
||||
|
||||
def __init__(self):
|
||||
super(Simulate, self).__init__(
|
||||
super().__init__(
|
||||
'simulate',
|
||||
# Keep this in sync with the string in west-commands.yml.
|
||||
'simulate board',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue