-
Notifications
You must be signed in to change notification settings - Fork 14
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
Nick/pyttb utils improvement #353
Nick/pyttb utils improvement #353
Conversation
* Remove unneeded method * Update examples/docs most places * Mark remaining improvements
* Update doc strings for remaining utils
* Mostly adding periods, newlines, and imperitive phrasing
@ntjohnson1 Looks like the same conflicts (and maybe a couple more) are still in place for this PR. Since I broke the last conflict fix, I'll ask you to fix the conflicts when you get a chance. Thanks |
I'll try to get to it tonight or tomorrow. |
# Conflicts: # pyttb/export_data.py # pyttb/ktensor.py # pyttb/pyttb_utils.py # pyttb/sptensor.py # pyttb/sumtensor.py # pyttb/tenmat.py # pyttb/tensor.py
No problem Danny I usually telescope my PRs to stack them for review but didn't this time and conflicts were a pain. I'll go back to stacking them and describe the right order of merging for the future. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed all of the conflicts!
Solves #347
Also handles the [tenfun discussion]](#345 (reply in thread))
Additonally, enables ruff's enforcement of pydocstyle which should help the uniformity of our documentation. There are always documentation style improvements but I realized there were some methods we were just entirely missing docs one. (This is a single commit but if it is annoying to review can put it into a separate PR)
Resolves: #357 and #355 (the naming in the printing of the tensor will depend on #350)
📚 Documentation preview 📚: https://pyttb--353.org.readthedocs.build/en/353/