Skip to content
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

Chore!: improve python type hints #1689

Merged
merged 12 commits into from
May 25, 2023
Merged

Chore!: improve python type hints #1689

merged 12 commits into from
May 25, 2023

Conversation

georgesittas
Copy link
Collaborator

@georgesittas georgesittas commented May 25, 2023

I did a sweep in the codebase to clean up the type hints. All files under sqlglot/dialects should be now fully typed.

This is still a WIP, gonna continue iterating on it tomorrow to do any remaining fixes.

@georgesittas georgesittas marked this pull request as draft May 25, 2023 15:08
sqlglot/dialects/tsql.py Outdated Show resolved Hide resolved
@georgesittas georgesittas marked this pull request as ready for review May 25, 2023 17:48
@georgesittas georgesittas merged commit a6fdd59 into main May 25, 2023
@georgesittas georgesittas deleted the jo/improve_type_hints branch May 25, 2023 19:44
adrianisk pushed a commit to adrianisk/sqlglot that referenced this pull request Jun 21, 2023
* Chore!: improve python type hints

* More improvements

* Factor out E and T types into sqlglot._typing

* Fixup

* Fixup

* Fixup

* Fixup

* Fixup

* Fixup

* Fixup

* Fixup

* Fixup
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.

2 participants