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 1090
1090
" I001" , # https://docs.astral.sh/ruff/rules/unsorted-imports
1091
1091
" SIM115" , # https://docs.astral.sh/ruff/rules/open-file-with-context-handler
1092
1092
]
1093
- "./scripts/west_commands/flash.py" = [
1094
- " I001" , # https://docs.astral.sh/ruff/rules/unsorted-imports
1095
- " UP008" , # https://docs.astral.sh/ruff/rules/super-call-with-parameters
1096
- ]
1097
1093
"./scripts/west_commands/robot.py" = [
1098
1094
" I001" , # https://docs.astral.sh/ruff/rules/unsorted-imports
1099
1095
" 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