-
Notifications
You must be signed in to change notification settings - Fork 6
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
build(all): bump pydantic and linting packages #2331
Conversation
permissions=PermissionInfo(owner=owner.impersonator) | ||
if owner | ||
else PermissionInfo(public_mode=PublicMode.READ), | ||
permissions=( |
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.
Why does your IDE change this ?
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.
Black did it
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.
Ah okay
@@ -81,16 +81,19 @@ def test_init__invalid_storage_id(self, recent_study: FileStudy, command_context | |||
storage_id="?%$$", # bad name | |||
study_version=STUDY_VERSION_8_8, | |||
) | |||
assert ctx.value.errors() == [ | |||
expected_error = [ |
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.
Couldn't you just change the url to put 2.10 ?
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 can, I feel like it is just postponing the problem. If we need the URL in the error message, I can indeed just change the url
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.
Indeed it's postponing for the next time we're gonna bump the lib but I think it's a small issue and it makes the test clearer IMO
Upgrade pydantic to 2.9 because it introduces performances improvement. I pushed it to 2.10 because it does not contain breaking changes.
I also upgraded mypy, black and isort because why not