File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change 1101
1101
" I001" , # https://docs.astral.sh/ruff/rules/unsorted-imports
1102
1102
" SIM115" , # https://docs.astral.sh/ruff/rules/open-file-with-context-handler
1103
1103
]
1104
- "./scripts/west_commands/flash.py" = [
1105
- " I001" , # https://docs.astral.sh/ruff/rules/unsorted-imports
1106
- " UP008" , # https://docs.astral.sh/ruff/rules/super-call-with-parameters
1107
- ]
1108
1104
"./scripts/west_commands/robot.py" = [
1109
1105
" I001" , # https://docs.astral.sh/ruff/rules/unsorted-imports
1110
1106
" UP008" , # https://docs.astral.sh/ruff/rules/super-call-with-parameters
Original file line number Diff line number Diff line change 6
6
7
7
'''west "flash" command'''
8
8
9
- from west . commands import WestCommand
9
+ from pathlib import Path
10
10
11
11
from run_common import add_parser_common , do_run_common , get_build_dir
12
-
13
- from pathlib import Path
12
+ from west .commands import WestCommand
14
13
15
14
16
15
class Flash (WestCommand ):
17
16
18
17
def __init__ (self ):
19
- super (Flash , self ).__init__ (
18
+ super ().__init__ (
20
19
'flash' ,
21
20
# Keep this in sync with the string in west-commands.yml.
22
21
'flash and run a binary on a board' ,
You can’t perform that action at this time.
0 commit comments