- Notifications
You must be signed in to change notification settings - Fork5.9k
Add walrus operator wherever possible#3749
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Add walrus operator wherever possible#3749
Uh oh!
There was an error while loading.Please reload this page.
Conversation
@Bibo-Joshi@clot27 is there a reason the |
Thanks for the PR! The tests are failing on some other PRs since yesterday, too. Seems like something changed in the TG servers. We'll have to investigate. |
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.
The failing tests seem to have recovered. Now onlyTestInlineQueryHandler.test_context_pattern is failing. I guess that's due to your changes though TBH I don't really see a flaw in those … Would you mind double check ing that?
thefunkycat commentedJun 8, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@Bibo-Joshi should be fixed now :) Edit: oof the tests still fail but this is related to submitting the test coverage, all the tests pass. so not the code. |
Thank you very much for the nice contribution :) |
Uh oh!
There was an error while loading.Please reload this page.
Solves#3734
I have tried to add the walrus operator wherever possible.
I went through most files.
There were a couple more instances I found where I could have added it, but it was unnecessary and would not have necessarily improved readability or code quality.
I was more lenient when it came to adding the walrus operator to tests