mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 09:09:10 -04:00
gh-action:fix python lint
This commit is contained in:
parent
f30e920116
commit
e51bd6deaf
2
.github/workflows/python_lint.yml
vendored
2
.github/workflows/python_lint.yml
vendored
@ -4,7 +4,7 @@ name: Python CI
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- "*.py"
|
||||
- "**.py"
|
||||
- "requirements.txt"
|
||||
|
||||
jobs:
|
||||
|
@ -248,7 +248,7 @@ class IDFApp(App.BaseApp):
|
||||
flash_settings["encrypt"] = "CONFIG_SECURE_FLASH_ENCRYPTION_MODE_DEVELOPMENT" in sdkconfig_dict
|
||||
|
||||
# make file offsets into integers, make paths absolute
|
||||
flash_files = [(int(offs, 0), os.path.join(self.binary_path, path.strip())) for (offs, path) in flash_files]
|
||||
flash_files = [(int(offs, 0), os.path.join(self.binary_path, file_path.strip())) for (offs, file_path) in flash_files]
|
||||
|
||||
return flash_files, flash_settings
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user