Conversation
📝 Docs previewLast commit a1e581a at: https://95ee33ac.sqlmodel.pages.dev |
…rs are before it (invalid-legacy-positional-parameter)
This comment was marked as resolved.
This comment was marked as resolved.
# Conflicts: # pyproject.toml # uv.lock
This comment was marked as resolved.
This comment was marked as resolved.
# Conflicts: # pyproject.toml # uv.lock
YuriiMotov
left a comment
There was a problem hiding this comment.
Added a few suggestions in the comments. Please, take a look)
|
@YuriiMotov, thanks for the review! I addressed everything, looks better IMO 🙂 |
|
|
||
| # Replicate SQLAlchemy | ||
| def __setattr__(cls, name: str, value: Any) -> None: | ||
| def __setattr__(cls, name: str, value: Any) -> None: # ty: ignore[invalid-method-override] |
YuriiMotov
left a comment
There was a problem hiding this comment.
LGTM!
Just one moment with removing tests/test_select_typing.py from command
|
Ok, I reviewed it all again, I think it should be fine now 🤞 |
svlandeg
left a comment
There was a problem hiding this comment.
Putting this back in draft as I have a look into updating ty to 0.0.25, which generates a new host of errors.
svlandeg
left a comment
There was a problem hiding this comment.
Apologies for all the back-and-forth here. I updated the PR to use ty 0.0.25 which is actually nicer. And now we also error on warnings. Should be good for a hopefully final review 🙏
mypywithtyin precommit,lint.sh& pyproject.toml.typecodes to specifictycodestyhappyI originally set out to have
mypyandtyrun together in precommit, but forsqlmodelI would argue that perhaps we want to removemypyalltogether already now, as it allows us to remove a lot oftype: ignorestatements thattythinks are unnecessary anyway.