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 1190
1190
" UP015" , # https://docs.astral.sh/ruff/rules/redundant-open-modes
1191
1191
" UP032" , # https://docs.astral.sh/ruff/rules/f-string
1192
1192
]
1193
- "./scripts/west_commands/zspdx/cmakecache.py" = [
1194
- " UP015" , # https://docs.astral.sh/ruff/rules/redundant-open-modes
1195
- ]
1196
1193
"./scripts/west_commands/zspdx/cmakefileapi.py" = [
1197
1194
" F541" , # https://docs.astral.sh/ruff/rules/f-string-missing-placeholders
1198
1195
" 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