Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update espota.py #8239

Closed
wants to merge 3 commits into from
Closed

Update espota.py #8239

wants to merge 3 commits into from

Conversation

rowingdude
Copy link
Contributor

Replaced the deprecated optparse module with argparse.
Adjusted the code style to conform to PEP 8 guidelines.
Used with statement for file handling to ensure proper resource cleanup.
Incorporated exception handling to catch and handle potential errors.
Made variable names more descriptive for better readability.
Introduced constants for better code maintainability.

Changes documented in comment section of code.
@CLAassistant
Copy link

CLAassistant commented May 22, 2023

CLA assistant check
All committers have signed the CLA.

@me-no-dev
Copy link
Member

This is very nice! Because it also needs to be packed and signed for Windows, I will hold the PR until we implement the necessary workflows, so that we can rebuild the EXE properly.

@me-no-dev me-no-dev changed the base branch from master to esp-idf-v5.1-libs July 22, 2023 11:07
@me-no-dev me-no-dev changed the base branch from esp-idf-v5.1-libs to master October 5, 2023 12:25
@me-no-dev
Copy link
Member

had to redo the PR, because CI was not able to build espota.py. Closing this one. Your commit is cherrypicked there :)

@me-no-dev me-no-dev closed this Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants