Skip to content

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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading