| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
📝 Docs previewLast commit becee62 at: https://b232cb93.sqlmodel.pages.dev |
Sorry, something went wrong.
…rs are before it (invalid-legacy-positional-parameter)
# Conflicts: # pyproject.toml # uv.lock
# Conflicts: # pyproject.toml # uv.lock
There was a problem hiding this comment.
Added a few suggestions in the comments. Please, take a look)
Sorry, something went wrong.
|
@YuriiMotov, thanks for the review! I addressed everything, looks better IMO 🙂 |
Sorry, something went wrong.
|
|
||
| # Replicate SQLAlchemy | ||
| def __setattr__(cls, name: str, value: Any) -> None: | ||
| def __setattr__(cls, name: str, value: Any) -> None: # ty: ignore[invalid-method-override] |
There was a problem hiding this comment.
For context: #1806 (comment)
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM!
Just one moment with removing tests/test_select_typing.py from command
Sorry, something went wrong.
|
Ok, I reviewed it all again, I think it should be fine now 🤞 |
Sorry, something went wrong.
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.
Sorry, something went wrong.
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 🙏
Sorry, something went wrong.
There was a problem hiding this comment.
All good!
Sorry, something went wrong.
There was a problem hiding this comment.
Excellent, thank you! 🙌 🚀
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
I originally set out to have mypy and ty run together in precommit, but for sqlmodel I would argue that perhaps we want to remove mypy alltogether already now, as it allows us to remove a lot of type: ignore statements that ty thinks are unnecessary anyway.
⚠️ This requires thorough review, I'm not super sure on all decisions taken here, cf 2 separate review comments below 👇