-
Notifications
You must be signed in to change notification settings - Fork 37.7k
Remove unused Python imports #9508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove unused Python imports #9508
Conversation
bd1c6b4
to
41c1c45
Compare
Makes sense. Is there an automated tool you used to find these? |
@laanwj Yes, I've done some cleanup work for the |
Concept ACK |
41c1c45
to
95bab82
Compare
Removed |
ACK Feel free to open PRs for tidying up python coding style. I'm happy to review anything in the qa directory. |
@jnewbery OK, great! Will do! :-) |
@jnewbery What is the proper protocol to follow w.r.t. to submitting Python cleanups? Should I wait for this initial Python cleanup PR to get merged before proceeding with further cleanups, or what is the preferred way to proceed? :-) |
utACK 95bab82 |
95bab82 Remove unused Python imports (practicalswift)
@practicalswift - probably best to ask @MarcoFalke since he maintains the qa and test code. In general I'd recommend not making parallel PRs which touch a lot of files, since you'll probably end up having to rebase. |
I think it makes sense to clean up the python code base in qa/ but
please make sure you are not "exceeding the goal". We already had
cleanup pulls which changed to a max line length to 80 chars among
other things. It turned out the patch was impossible to review,
actually changed behavior and would have introduced bugs. I'd rather
have "ugly" code that works than some PEP8 code that crashes.
Just ask yourself if a specific cleanup task is worth it and easy to
review, then it should be fine.
|
95bab82 Remove unused Python imports (practicalswift)
95bab82 Remove unused Python imports (practicalswift)
95bab82 Remove unused Python imports (practicalswift)
…dablock committed on Jan 20, 2018 Use version 2 blocks for miner_tests … @codablock codablock committed on Jan 20, 2018 Merge bitcoin#7871: Manual block file pruning. … @laanwj @codablock laanwj authored and codablock committed on Jan 11, 2017 Merge bitcoin#9507: Fix use-after-free in CTxMemPool::removeConflicts() … @sipa @codablock sipa authored and codablock committed on Jan 11, 2017 Merge bitcoin#9297: Various RPC help outputs updated … @MarcoFalke @codablock MarcoFalke authored and codablock committed on Jan 12, 2017 Merge bitcoin#9416: travis: make distdir before make … @MarcoFalke @codablock MarcoFalke authored and codablock committed on Jan 12, 2017 Merge bitcoin#9520: Deprecate non-txindex getrawtransaction and bette… … @MarcoFalke @codablock MarcoFalke authored and codablock committed on Jan 12, 2017 Merge bitcoin#9518: Return height of last block pruned by pruneblockc… … @MarcoFalke @codablock MarcoFalke authored and codablock committed on Jan 12, 2017 Merge bitcoin#9472: Disentangle progress estimation from checkpoints … … @laanwj @codablock laanwj authored and codablock committed on Jan 12, 2017 Merge bitcoin#8883: Add all standard TXO types to bitcoin-tx … @laanwj @codablock laanwj authored and codablock committed on Jan 12, 2017 Merge bitcoin#9261: Add unstored orphans with rejected parents to rec… … @laanwj @codablock laanwj authored and codablock committed on Jan 12, 2017 Merge bitcoin#9468: [Depends] Dependency updates for 0.14.0 … @laanwj @codablock laanwj authored and codablock committed on Jan 12, 2017 Merge bitcoin#9222: Add 'subtractFeeFromAmount' option to 'fundrawtra… … @laanwj @codablock laanwj authored and codablock committed on Jan 12, 2017 Merge bitcoin#9490: Replace FindLatestBefore used by importmuti with … … @sipa @codablock sipa authored and codablock committed on Jan 13, 2017 Merge bitcoin#9469: [depends] Qt 5.7.1 … @laanwj @codablock laanwj authored and codablock committed on Jan 15, 2017 Merge bitcoin#9380: Separate different uses of minimum fees … @laanwj @codablock laanwj authored and codablock committed on Jan 16, 2017 Remove SegWit related code in dash-tx @codablock codablock committed on Sep 21, 2017 Merge bitcoin#9561: Wake message handling thread when we receive a ne… … @sipa @codablock sipa authored and codablock committed on Jan 17, 2017 Merge bitcoin#9508: Remove unused Python imports … @MarcoFalke @codablock MarcoFalke authored and codablock committed on Jan 18, 2017 Merge bitcoin#9512: Fix various things -fsanitize complains about
The commit in this PR removes unused Python imports.