Repository navigation
MNT: Deprecate docstring - #22148
MNT: Deprecate docstring#22148
docstring#22148Conversation
da97ff3 to
b7eb392
Compare
|
Is it just lazy test writing or is the code supposed to import from the "wrong" module? Similarly, is it expected that it is enough to import from |
|
Some of the unused imports in |
3d461d9 to
945ccfd
Compare
|
OK! I have restored that (but kept changes in some of the tests to not use the I also did the two-step commit procedure here. |
00d8591 to
454d7bc
Compare
454d7bc to
be9e590
Compare
|
@oscargus something changed in codebase under this PR. Can you please rebase on the main branch? Thanks. |
be9e590 to
cb4a840
Compare
|
Another of the deprecations changed the same import statement. Fixed now. |
QuLogic
left a comment
There was a problem hiding this comment.
Some of this seems unrelated to docstring.
cb4a840 to
a1848aa
Compare
|
OK! So now I think it should be properly sorted. |
a1848aa to
8e8ce8d
Compare
c1302d3 to
72a2a5f
Compare
72a2a5f to
604f580
Compare
|
Finally got around to update this. I hope I have not introduced any of the issues... |
|
I should have properly rebased instead of just resolving the conflicts in the web interface... Will do that. |
|
It doesn't seem like you did a rebase in the end? |
Hmm, you are right... Not sure how that happened as I am quite sure I did a rebase (as well)... I'll give it a new go. |
d692157 to
14881c7
Compare
|
Still confused where the merge commit came from, but now it is properly rebased. |
37a605f to
52df591
Compare
|
Now I am quite certain (more than last time...), that everything is updated. |
PR Summary
Related to #16181.
I removed (most) unused imports. I realize that this may be a bad idea because people may import from the incorrect place, especially for
pyplot.py. However, it is probably better to comment and/or add pylint/flake8-comments that this is the case. So feel free to point out that it should be restored.(I will fix any incorrect internal imports, in case there are more than those I have found. If nothing else, it can be a good way to improve the local code base.)
Will add release note when tests pass.DonePR Checklist
Tests and Styling
pytestpasses).flake8-docstringsand runflake8 --docstring-convention=all).Documentation
doc/users/next_whats_new/(follow instructions in README.rst there).doc/api/next_api_changes/(follow instructions in README.rst there).