Skip to content

Commit 0d06a59

Browse files
committed
scripts: west_commands: simulate: Fix linter issues
Fix issues reported by ruff. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
1 parent 4a9862d commit 0d06a59

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.ruff-excludes.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1128,10 +1128,6 @@
11281128
"UP008", # https://docs.astral.sh/ruff/rules/super-call-with-parameters
11291129
"UP032", # https://docs.astral.sh/ruff/rules/f-string
11301130
]
1131-
"./scripts/west_commands/simulate.py" = [
1132-
"I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
1133-
"UP008", # https://docs.astral.sh/ruff/rules/super-call-with-parameters
1134-
]
11351131
"./scripts/west_commands/spdx.py" = [
11361132
"E501", # https://docs.astral.sh/ruff/rules/line-too-long
11371133
"F541", # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders

scripts/west_commands/simulate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
#
33
# SPDX-License-Identifier: Apache-2.0
44

5-
from west.commands import WestCommand
65
from run_common import add_parser_common, do_run_common
6+
from west.commands import WestCommand
77

88
EXPORT_DESCRIPTION = '''\
99
Simulate the board on a runner of choice using generated artifacts.
@@ -13,7 +13,7 @@
1313
class Simulate(WestCommand):
1414

1515
def __init__(self):
16-
super(Simulate, self).__init__(
16+
super().__init__(
1717
'simulate',
1818
# Keep this in sync with the string in west-commands.yml.
1919
'simulate board',

0 commit comments

Comments
 (0)