Page MenuHomePhabricator

[linter] Fix flake8 E721 warnings
ClosedPublic

Authored by Fabien on Sep 4 2023, 14:27.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABC39883b4df489: [linter] Fix flake8 E721 warnings
Summary

Replace type(x) == Foo with isinstance(x, Foo)

Test Plan
arc lint --everything

Diff Detail

Repository
rABC Bitcoin ABC
Branch
fix_linters
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 24940
Build 49468: Build Diffelectrum-tests
Build 49467: arc lint + arc unit

Event Timeline

Fabien requested review of this revision.Sep 4 2023, 14:27
PiRK requested changes to this revision.Sep 4 2023, 15:12
PiRK added a subscriber: PiRK.
PiRK added inline comments.
electrum/electrumabc/wallet.py
2689
2692

dito

This revision now requires changes to proceed.Sep 4 2023, 15:12

Fix misuse of the is keyword

This revision is now accepted and ready to land.Sep 4 2023, 16:08
This revision was automatically updated to reflect the committed changes.