File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
scripts/west_commands/zspdx Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change 1232
1232
" UP015" , # https://docs.astral.sh/ruff/rules/redundant-open-modes
1233
1233
" UP032" , # https://docs.astral.sh/ruff/rules/f-string
1234
1234
]
1235
- "./scripts/west_commands/zspdx/cmakecache.py" = [
1236
- " UP015" , # https://docs.astral.sh/ruff/rules/redundant-open-modes
1237
- ]
1238
1235
"./scripts/west_commands/zspdx/cmakefileapi.py" = [
1239
1236
" F541" , # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
1240
1237
" I001" , # https://docs.astral.sh/ruff/rules/unsorted-imports
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ def parseCMakeCacheFile(filePath):
11
11
log .dbg (f"parsing CMake cache file at { filePath } " )
12
12
kv = {}
13
13
try :
14
- with open (filePath , "r" ) as f :
14
+ with open (filePath ) as f :
15
15
# should be a short file, so we'll use readlines
16
16
lines = f .readlines ()
17
17
You can’t perform that action at this time.
0 commit comments