HomePhabricator

[lint] Fix remaining variables shadowing python builtins and enable detection…

Description

[lint] Fix remaining variables shadowing python builtins and enable detection of shadowed variables going forward

Summary:
This is the last step cleaning up variables shadowing python builtins. Going forward the linter will catch these and report an error.

Depends on D13748, D13749, and D13750

Test Plan:

ninja check-functional

From project root:

flake8 | grep A001

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
sdulfariAuthored on Apr 20 2023, 19:40
sdulfariPushed on Apr 21 2023, 15:30
Reviewer
Restricted Project
Differential Revision
D13751: [lint] Fix remaining variables shadowing python builtins and enable detection of shadowed variables going forward
Parents
rABCd7e213a04261: [lint] Fix variables shadowing python builtins in zmq_sub.py
Branches
Unknown
Tags
Unknown