-
-
Notifications
You must be signed in to change notification settings - Fork 553
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
Doing some cleanup on Littelmann paths #36987
Doing some cleanup on Littelmann paths #36987
Conversation
This is my first attempt at using the new GitHub setup with Sage (I know, I'm very slow), so I'm not sure how to officially make comments on a ticket. I'm having trouble building the documentation on my machine anyway (probably because I'm so far behind on builds -- even though 10.3.beta4 builds fine). Anyway, here are some comments:
Otherwise, I think it looks good. |
For the docbuilds, this is now done automatically, which can be checked in the link right above your comment. So you don't have to do it yourself anymore.
Changed; although I personally find f-strings to be a bit more annoying than the
In case we wanted to have proper checks at some point, but I removed them.
Done.
I did not remove this as it would make the message use very weird English. |
That's a nice feature!
I don't know that it's weird. In any case, the suggestion was based on the change you made on line 180. Beyond that, the bot above is reporting Build & Test / build (pull_request) failure. It looks like there are some failed doctests. I can replicate the failures on my machine.
|
I ended up deleting too much on line 180. I added the "the" back in there as it is weird without it there too.
Fixed. It was only being tested with |
Documentation preview for this PR (built with commit b068353; changes) is ready! 🎉 |
Everything now looks good to me. I still don't see a way to give this a "positive review"... |
@mkoeppe Please add Ben @bsalisbury1 to the "triage" team so he can approve the PR. |
When I looked, @bsalisbury1 was already on Triage, so someone seems to have been faster! |
Thank you, likely to @fchapoton for doing that. (Actually, I just realized I probably have sufficient powers now to do that myself...) @bsalisbury1 If everything is still good with you, then please approve the PR (under the "files changed" and "review changes" button). |
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.
Looks good.
sagemathgh-36987: Doing some cleanup on Littelmann paths <!-- ^^^^^ Please provide a concise, informative and self-explanatory title. Don't put issue numbers in there, do this in the PR body below. For example, instead of "Fixes sagemath#1234" use "Introduce new method to calculate 1+1" --> <!-- Describe your changes here in detail --> We do some cleanup on Littelmann paths by allowing greater input (including covering a surprising case when passing in a Cartan type and a weight for finite type), some PEP8 stuff, some doc formatting, commenting out assert statements, and other misc improvements. This is not necessarily meant to be comprehensive, but it moves things in the right direction. The most important thing is fixing the surprising input behavior. <!-- Why is this change required? What problem does it solve? --> <!-- If this PR resolves an open issue, please link to it here. For example "Fixes sagemath#12345". --> <!-- If your change requires a documentation PR, please link it appropriately. --> ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> <!-- If your change requires a documentation PR, please link it appropriately --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> <!-- Feel free to remove irrelevant items. --> - [x] The title is concise, informative, and self-explanatory. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. - [x] I have created tests covering the changes. - [x] I have updated the documentation accordingly. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on - sagemath#12345: short description why this is a dependency - sagemath#34567: ... --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> URL: sagemath#36987 Reported by: Travis Scrimshaw Reviewer(s): Ben Salisbury
sagemathgh-36987: Doing some cleanup on Littelmann paths <!-- ^^^^^ Please provide a concise, informative and self-explanatory title. Don't put issue numbers in there, do this in the PR body below. For example, instead of "Fixes sagemath#1234" use "Introduce new method to calculate 1+1" --> <!-- Describe your changes here in detail --> We do some cleanup on Littelmann paths by allowing greater input (including covering a surprising case when passing in a Cartan type and a weight for finite type), some PEP8 stuff, some doc formatting, commenting out assert statements, and other misc improvements. This is not necessarily meant to be comprehensive, but it moves things in the right direction. The most important thing is fixing the surprising input behavior. <!-- Why is this change required? What problem does it solve? --> <!-- If this PR resolves an open issue, please link to it here. For example "Fixes sagemath#12345". --> <!-- If your change requires a documentation PR, please link it appropriately. --> ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> <!-- If your change requires a documentation PR, please link it appropriately --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> <!-- Feel free to remove irrelevant items. --> - [x] The title is concise, informative, and self-explanatory. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. - [x] I have created tests covering the changes. - [x] I have updated the documentation accordingly. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on - sagemath#12345: short description why this is a dependency - sagemath#34567: ... --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> URL: sagemath#36987 Reported by: Travis Scrimshaw Reviewer(s): Ben Salisbury
sagemathgh-36987: Doing some cleanup on Littelmann paths <!-- ^^^^^ Please provide a concise, informative and self-explanatory title. Don't put issue numbers in there, do this in the PR body below. For example, instead of "Fixes sagemath#1234" use "Introduce new method to calculate 1+1" --> <!-- Describe your changes here in detail --> We do some cleanup on Littelmann paths by allowing greater input (including covering a surprising case when passing in a Cartan type and a weight for finite type), some PEP8 stuff, some doc formatting, commenting out assert statements, and other misc improvements. This is not necessarily meant to be comprehensive, but it moves things in the right direction. The most important thing is fixing the surprising input behavior. <!-- Why is this change required? What problem does it solve? --> <!-- If this PR resolves an open issue, please link to it here. For example "Fixes sagemath#12345". --> <!-- If your change requires a documentation PR, please link it appropriately. --> ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> <!-- If your change requires a documentation PR, please link it appropriately --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> <!-- Feel free to remove irrelevant items. --> - [x] The title is concise, informative, and self-explanatory. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. - [x] I have created tests covering the changes. - [x] I have updated the documentation accordingly. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on - sagemath#12345: short description why this is a dependency - sagemath#34567: ... --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> URL: sagemath#36987 Reported by: Travis Scrimshaw Reviewer(s): Ben Salisbury
We do some cleanup on Littelmann paths by allowing greater input (including covering a surprising case when passing in a Cartan type and a weight for finite type), some PEP8 stuff, some doc formatting, commenting out assert statements, and other misc improvements. This is not necessarily meant to be comprehensive, but it moves things in the right direction. The most important thing is fixing the surprising input behavior.
📝 Checklist
⌛ Dependencies