Repository navigation
Refactor __init__.py, mostly by moving Parameters to parameters.py (take 2) - #853
Conversation
|
I squashed the commits locally merging to main, created another branch from that that I pushed to the repo. Browsing to the So it seems we should not squash the commits of this PR when merging it into main! On Github we have the following options when merging:
I tried 1) and 3), both options allow to preserve blame for So that's all good news, we have a way to preserve blame 👍 Thanks a lot @jbednar for catching that, it would have been very annoying loosing blame. Do you have a preference between the two available options? |
|
Ok, great! I strongly prefer option 3 (rebasing), because it keeps the revision history linear on main. Thanks for following up on that! |
|
Ok thanks I'm going to rebase and merge this PR then. |
Fixes #648
Supersedes #852
This is also adding
__all__to the__init__.py.When you start to touch so many lines it's tempting to do some formatting and even more refactoring, styling, imports sorting, etc.. I've decided to stick to address the limitations exposed in the issue; this can be done later.
I think Github supports ignoring specific commits on blame, I'll enable that once this is merged.
Per Jim's comment in #852 (comment)
I have used
git mv __init__.py parameters.pyin this PR (had never used it!) which can only helpgit. Now we usually squash commits when merging to main and I don't know to which extent that will confusegit blame. I guess the next step for me is to try that locally.