HomePhabricator

[electrum] rename scripts with .py extension, and fix misc lint errors

Description

[electrum] rename scripts with .py extension, and fix misc lint errors

Summary:
With the .py extension, these files will now be under the watch of our linters.

Fix two remaing linter issues: a missing #!/usr/bin/env python3 shebang and a missing encoding when calling open(...)

Depends on D15359

Test Plan:
contrib/source-control-tools/patch-recipes/update-electrum-checkpoints.sh

arc lint -- electrum/scripts/*py

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D15364

Details

Provenance
PiRKAuthored on Feb 1 2024, 13:46
PiRKPushed on Feb 2 2024, 07:47
Reviewer
Restricted Project
Differential Revision
D15364: [electrum] rename scripts with .py extension, and fix misc lint errors
Parents
rABC9870622f1f01: [electrum] run flake8 on python scripts missing the .py extension
Branches
Unknown
Tags
Unknown