Enable automatic detection of undefined names in Python tests scripts
Summary:
Based on core PR13054.
Enforce flake8 rules:
- F403 'from foo_module import *' used; unable to detect undefined names
- F405 foo_function may be undefined, or defined from star imports: bar_module
Depends on D2603
Test Plan:
Add an import * directive in a functional test. Run arc lint and
check the error is reported.
Reviewers: #bitcoin_abc, deadalnix, jasonbcox
Reviewed By: #bitcoin_abc, jasonbcox
Subscribers: teamcity, schancel
Differential Revision: https://reviews.bitcoinabc.org/D2604