-
Notifications
You must be signed in to change notification settings - Fork 4
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
Repo consistency #639
base: develop
Are you sure you want to change the base?
Repo consistency #639
Conversation
… or 'raise ... from None'
…ps])' instead of 'for' loop
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.
Nice, just the two small changes
eventstore/tests/test_views.py
Outdated
) | ||
(self.assertEqual(messages.id, "9e12d04c-af25-40b6-aa4f-57c72e8e3f91"),) | ||
(self.assertEqual(messages.type, "image"),) | ||
(self.assertEqual(messages.message_direction, Message.INBOUND),) |
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.
This looks like ruff
has helpfully turned a bunch of accidental trailing commas into explicit tuples. Perhaps we should remove the commas instead?
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.
Fixed
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.
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.
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.