Skip to content

Repo consistency#639

Merged
DevChima merged 53 commits intodevelopfrom
repo-consistency
Jul 8, 2025
Merged

Repo consistency#639
DevChima merged 53 commits intodevelopfrom
repo-consistency

Conversation

@fritzbrand
Copy link

@fritzbrand fritzbrand commented Oct 22, 2024

This PR is for the repo consistency work done on this repo.

The main goal is getting all repos to use poetry for package management, and ruff for linting.

Fritz Brand added 30 commits October 17, 2024 10:25
@fritzbrand fritzbrand marked this pull request as ready for review October 23, 2024 05:17
@fritzbrand fritzbrand requested a review from erikh360 October 23, 2024 05:17
Copy link
Contributor

@erikh360 erikh360 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, just the two small changes

)
(self.assertEqual(messages.id, "9e12d04c-af25-40b6-aa4f-57c72e8e3f91"),)
(self.assertEqual(messages.type, "image"),)
(self.assertEqual(messages.message_direction, Message.INBOUND),)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like ruff has helpfully turned a bunch of accidental trailing commas into explicit tuples. Perhaps we should remove the commas instead?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there are more of these -- mostly multiline ones. Any line that starts (self.assert... or the multiline equivalent with the ( on the line above can be de-tupled.

@DevChima DevChima merged commit 8640f97 into develop Jul 8, 2025
3 checks passed
@DevChima DevChima deleted the repo-consistency branch July 8, 2025 09:55
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.

4 participants