-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Add type annotations for peewee
#4776
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
Closed
Closed
Changes from 16 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
511e3ea
Add type annotations for `peewee`
7bbba59
Merge branch 'master' into peewee
b7eebcd
More work on annotations
1f7af9f
Commit final parts of first draft of the PR.
92dff01
Incremental fixes
0d047c4
Merge branch 'master' into peewee
dargueta 2fa7292
Add stuff, reformat according to Black
41eedc7
Merge branch 'master' into peewee
fa81e48
A few more tweaks to int/float confusion
04ed2a9
Merge branch 'master' into peewee
9175536
Hopefully the last of the linter fixes, thanks to @pylipp
e3acec8
Merge branch 'master' into peewee
AlexWaygood 3153594
Fix location of new stub file
AlexWaygood 30d6289
Fix many lint errors
AlexWaygood d2a9556
Add to stricter-pyright ignorelist
AlexWaygood 8adc6b0
Fix a few obvious-ish things
Akuli 12f0e6f
use _typeshed.Self when appropriate
Akuli 18795ac
Merge branch 'master' into peewee
AlexWaygood e8e4b80
Merge branch 'master' into peewee
AlexWaygood 9d44ac6
More lint fixes
AlexWaygood 0504beb
Merge branch 'master' into peewee
AlexWaygood 9a7c5f9
Swap a few 'incomplete' comments for `_typeshed.Incomplete`
AlexWaygood 5011f56
Fix `TFunc`-related issues
AlexWaygood 719dd62
Nit: Rename several `TypeVar`s to use suffixes instead of prefixes
AlexWaygood fda102c
Add some missing type parameters, use some more `Incomplete` where I'…
AlexWaygood 45fb0c2
Fix a few mypy complaints, falling back to `Incomplete` when I'm unsure
AlexWaygood 3e31653
Mark more things as incomplete
AlexWaygood 589ad8d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] a63e648
More fixes
AlexWaygood e86cbd2
Merge
AlexWaygood 0e80802
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 503a71a
Merge branch 'master' into peewee
AlexWaygood File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| version = "3.14.10.*" | ||
| python2 = true | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.