Skip to content

Reformat instances list in fetch.py#3

Merged
NelsonMinar merged 2 commits into
mainfrom
reformat-instances-list-v1-7677506379701323307
Mar 18, 2026
Merged

Reformat instances list in fetch.py#3
NelsonMinar merged 2 commits into
mainfrom
reformat-instances-list-v1-7677506379701323307

Conversation

@NelsonMinar

Copy link
Copy Markdown
Owner

This change reformats the instances list in mastodon/fetch.py from a single-line list to a multi-line format. The duplicate entry for "sfba.social" is intentionally preserved in this commit as per the user's instructions. This is a pure formatting change to improve readability. tests have been run and passed.


PR created automatically by Jules for task 7677506379701323307 started by @NelsonMinar

As requested, I've broken the single-line instances list into one line
per server name, while keeping the duplicate entry for 'sfba.social'
for now. This improves readability and prepares for the next step of
removing the duplicate.

Co-authored-by: NelsonMinar <382136+NelsonMinar@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

This commit removes the second occurrence of 'sfba.social' in
fetch.py, which was redundantly causing extra API requests. The
ranking algorithm already uses 'distinct', so this won't change
the final rankings but will improve efficiency. tests have been
run and passed.

Co-authored-by: NelsonMinar <382136+NelsonMinar@users.noreply.github.com>
@NelsonMinar NelsonMinar merged commit e18bc1a into main Mar 18, 2026
@NelsonMinar NelsonMinar deleted the reformat-instances-list-v1-7677506379701323307 branch March 18, 2026 17:44
NelsonMinar added a commit that referenced this pull request Mar 18, 2026
* Reformat instances list in fetch.py to multi-line format

As requested, I've broken the single-line instances list into one line
per server name, while keeping the duplicate entry for 'sfba.social'
for now. This improves readability and prepares for the next step of
removing the duplicate.

Co-authored-by: NelsonMinar <382136+NelsonMinar@users.noreply.github.com>

* Remove duplicate 'sfba.social' from instances list

This commit removes the second occurrence of 'sfba.social' in
fetch.py, which was redundantly causing extra API requests. The
ranking algorithm already uses 'distinct', so this won't change
the final rankings but will improve efficiency. tests have been
run and passed.

Co-authored-by: NelsonMinar <382136+NelsonMinar@users.noreply.github.com>

---------

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: NelsonMinar <382136+NelsonMinar@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant