Page MenuHomePhabricator

[electrum] run black linter on scripts
ClosedPublic

Authored by PiRK on Feb 1 2024, 10:51.

Details

Reviewers
bytesofman
Group Reviewers
Restricted Project
Commits
rABCb1963b32cf36: [electrum] run black linter on scripts
Summary

Some python scripts don't have a .py extension. This is a manual run prior to renaming the files so that they will be linted in the future.
The main entry point for the application will not get an extension, so add it to includes in .arclint
Depends on D15362

Test Plan

arc lint -- electrum/electrum-abc

Diff Detail

Repository
rABC Bitcoin ABC
Branch
get_merkle_root_verbosity
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 26828
Build 53224: Build Diffelectrum-tests
Build 53223: arc lint + arc unit

Event Timeline

PiRK requested review of this revision.Feb 1 2024, 10:51

the extra blank line after the imports is not mandatory and not corrected by black (debugging leftover)

PiRK retitled this revision from [electrum] run the black linter on scripts to [electrum] run black linter on scripts.
PiRK edited the summary of this revision. (Show Details)
PiRK edited the test plan for this revision. (Show Details)

don't add the scripts to .arclint, just run black manually so we can rename them to .py later

This revision is now accepted and ready to land.Feb 1 2024, 17:29
This revision was automatically updated to reflect the committed changes.