Open pixeebot[bot] opened 5 months ago
Seems you are using me but didn't get OPENAI_API_KEY seted in Variables/Secrets for this repo. you could follow readme for more information
Processing PR updates...
Check out the playback for this Pull Request here.
Unable to locate .performanceTestingBot config file
Hello @pixeebot[bot]! Thanks for opening this PR. We checked the lines you've touched for PEPÂ 8 issues, and found:
pegasus/flax/checkpoint_conversion/shared.py
:Line 254:3: E111 indentation is not a multiple of four
Thanks @pixeebot[bot] for opening this PR!
For COLLABORATOR only :
To add labels, comment on the issue
/label add label1,label2,label3
To remove labels, comment on the issue
/label remove label1,label2,label3
[!IMPORTANT]
Review skipped
Bot user detected.
To trigger a single review, invoke the
@coderabbitai review
command.You can disable this status message by setting the
reviews.review_status
tofalse
in the CodeRabbit configuration file.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
PR Details of @pixeebot[bot] in google-research-pegasus : | OPEN | CLOSED | TOTAL |
---|---|---|---|
1 | 4 | 5 |
Many developers are not necessarily aware that the
startswith
andendswith
methods ofstr
objects can accept a tuple of strings to match. This means that there is a lot of code that uses boolean expressions such asx.startswith('foo') or x.startswith('bar')
instead of the simpler expressionx.startswith(('foo', 'bar'))
.This codemod simplifies the boolean expressions where possible which leads to cleaner and more concise code.
The changes from this codemod look like this:
I have additional improvements ready for this repo! If you want to see them, leave the comment:
... and I will open a new PR right away!
🧚🤖 Powered by Pixeebot
Feedback | Community | Docs | Codemod ID: pixee:python/combine-startswith-endswith