-
-
Notifications
You must be signed in to change notification settings - Fork 3k
stubtest: rewrite #8325
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
Merged
+1,015
−170
Merged
stubtest: rewrite #8325
Changes from 1 commit
Commits
Show all changes
74 commits
Select commit
Hold shift + click to select a range
2577636
stubtest: don't hardcode python version
2d04385
stubtest: fix build
908ef64
stubtest: recognise typealias
33b98cd
stubtest: use argparse, support custom typeshed dir
3161d43
stubtest: [minor] blacken
03d223d
stubtest: [minor] import nits
8036364
stubtest: [minor] renames, reorder parameters
e861ff9
stubtest: [wip] start to use runtime objects directly
3651e6f
stubtest: [minor] make parameter names for verify_* consistent
ad2a7c8
stubtest: gut error handling
8deb02a
stubtest: add support for missing things
91391bb
stubtest: implement verify module
092961f
stubtest: add trace for easier debugging
6eae4db
stubtest: implement verify class
fd9b1d1
stubtest: i
8000
mplement verify missing
c9ef96a
stubtest: implement verify function
fe75485
stubtest: implement verify var
53f768e
stubtest: logging improvements
ac63aee
stubtest: improve verify function
eedb3f2
stubtest: implement verify overload
be5c715
stubtest: more improvements to logging
d43cefb
stubtest: add --ignore-missing-stub option
be72175
stubtest: [minor] make order more deterministic
7876ca2
stubtest: [minor] descend through stubs less hackily
8a41b6d
stubtest: [minor] clean up imports
f761e8a
stubtest: [minor] remove debugging decorator
7b5ecfe
stubtest: small improvements for functions
3e629ae
stubtest: add --concise option
013d04e
stubtest: add exit code
0c7a57d
stubtest: redo verify function
aac7a57
stubtest: add ability to whitelist errors
9a68062
stubtest: [minor] clean up error handling
871be3e
stubtest: add --check-typeshed option
ae96f92
stubtest: [minor] handle distutils.command a little better
412fcf3
stubtest: adjust module level things we check in stubs
80b3d26
stubtest: check for mistaken positional only args
59a38b9
stubtest: be more permissive about positional-only arg names
b0f226c
stubtest: [minor] make error order more deterministic
b1139ea
stubtest: only mypy build once
141e800
stubtest: [minor] remove antigravity from --check-typeshed
f4b1a2a
stubtest: make verify_var work
22c4cf2
stubtest: verify types of argument default values
8481380
stubtest: pretend Literal[0, 1] is subtype of bool
2568583
stubtest: output unused whitelist entries
2de4fac
stubtest: [minor] deduplicate, sort --output-whitelist, fix exit code
b778b44
stubtest: add more documentation
8bebf33
stubtest: [minor] rename --output-whitelist to --generate-whitelist
49dab43
stubtest: [minor] suppress warnings
23bd82d
stubtest: look into the mro for attributes
1b5a18e
stubtest: better support @property and other decorators
30f5f4a
stubtest: check classmethod and staticmethod
31a299c
stubtest: [minor] support comments in whitelist
8a37fda
stubtest: [refactor] split up verify_funcitem
da90df7
stubtest: [minor] suggest positional-only name
4c05bca
stubtest: add __str__ for Signature
3afda91
stubtest: implement smarter overload checking
bb82c18
stubtest: improve typeinfo output, simplify descriptions
9ea10bd
stubtest: [minor] blacken
8686c33
stubtest: improve decorator handling, fix classmethod signature
f37e588
stubtest: fix classmethod and staticmethod introspection
0dbd899
stubtest: [minor] factor out is_dunder, check suffix
204c168
stubtest: fix proper_plugin, other selfcheck errors
523761c
stubtest: find submodules when explicitly testing a module
729181a
stubtest: remove f-strings for py35
36163f7
stubtest: remove variable annotations for py35
63cfe67
stubtest: remove trailing commas for py35
c5b99c6
stubtest: other changes for py35
b757b22
stubtest: [minor] use line length 99 to match project
e3f4cd3
stubtest: add a flag to ignore positional-only errors
6efc27f
stubtest: check typevar upper bounds for default values
dd07f78
stubtest: don't crash because of bpo-39504
13627d9
stubtest: avoid false positive when defining enums
6f2cb39
stubtest: allow multiple whitelists
0b89ff9
stubtest: [minor] improve help message
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
stubtest: logging improvements
- Loading branch information
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
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.
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.
self.is_missing_stub()
?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.
Ideally yes, but then mypy can't narrow the Union.