mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 17:19:09 -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:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- "*.py"
|
- "**.py"
|
||||||
- "requirements.txt"
|
- "requirements.txt"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -248,7 +248,7 @@ class IDFApp(App.BaseApp):
|
|||||||
flash_settings["encrypt"] = "CONFIG_SECURE_FLASH_ENCRYPTION_MODE_DEVELOPMENT" in sdkconfig_dict
|
flash_settings["encrypt"] = "CONFIG_SECURE_FLASH_ENCRYPTION_MODE_DEVELOPMENT" in sdkconfig_dict
|
||||||
|
|
||||||
# make file offsets into integers, make paths absolute
|
# 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
|
return flash_files, flash_settings
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user