-
Notifications
You must be signed in to change notification settings - Fork 277
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
Google sync #1035
Google sync #1035
Commits on Oct 21, 2021
-
Expand tests for
NamedTuple
compliance withtuple
semantics.PiperOrigin-RevId: 404243181
Configuration menu - View commit details
-
Copy full SHA for 380b34a - Browse repository at this point
Copy the full SHA 380b34aView commit details -
Finish removing --preserve-union-macros.
PiperOrigin-RevId: 404307683
Configuration menu - View commit details
-
Copy full SHA for 05d00fd - Browse repository at this point
Copy the full SHA 05d00fdView commit details -
Extract out a function to get all arg type errors in a function call.
PiperOrigin-RevId: 404345504
Configuration menu - View commit details
-
Copy full SHA for fa7dd74 - Browse repository at this point
Copy the full SHA fa7dd74View commit details -
Fix how the enum overlay calls
base_type.__new__
.Instead of trying to manually unpack the value, use Args.starargs, because that's what it's there for. PiperOrigin-RevId: 404348895
Configuration menu - View commit details
-
Copy full SHA for eb8b494 - Browse repository at this point
Copy the full SHA eb8b494View commit details -
When an
attr.ib()
call has type errors, construct the attrib anyway.This makes sure that when we continue analysing the code we do not get cascading errors from a missing attribute in the class, analogous to the way we make sure an `__init__` function always constructs something in `abstract.function.call_function()` PiperOrigin-RevId: 404351536
Configuration menu - View commit details
-
Copy full SHA for ff8b484 - Browse repository at this point
Copy the full SHA ff8b484View commit details -
Improve how the enum overlay chooses base types.
Try to ignore mixins, i.e. classes that don't define `__new__`. This isn't perfect, but it's more accurate. PiperOrigin-RevId: 404368186
Configuration menu - View commit details
-
Copy full SHA for 28799cd - Browse repository at this point
Copy the full SHA 28799cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for b990241 - Browse repository at this point
Copy the full SHA b990241View commit details -
Handle all cases of InvalidParameters in match_all_args.
PiperOrigin-RevId: 404392244
Configuration menu - View commit details
-
Copy full SHA for 430ef64 - Browse repository at this point
Copy the full SHA 430ef64View commit details -
One more blocklist gone! PiperOrigin-RevId: 404392980
Configuration menu - View commit details
-
Copy full SHA for dee755e - Browse repository at this point
Copy the full SHA dee755eView commit details -
Construct dict literals for
dict(k=v, ...)
.PiperOrigin-RevId: 404693790
Configuration menu - View commit details
-
Copy full SHA for 1769e66 - Browse repository at this point
Copy the full SHA 1769e66View commit details -
Support builtin str removeprefix/removesuffix (#1033)
These are new in Python 3.9: https://docs.python.org/3/library/stdtypes.html#str.removeprefix Resolves #1033 PiperOrigin-RevId: 404695837
Configuration menu - View commit details
-
Copy full SHA for 1b5174b - Browse repository at this point
Copy the full SHA 1b5174bView commit details -
See https://github.com/google/pytype/runs/3959170826?check_suite_focus=true. PiperOrigin-RevId: 404855272
Configuration menu - View commit details
-
Copy full SHA for 9b4732e - Browse repository at this point
Copy the full SHA 9b4732eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d5b7488 - Browse repository at this point
Copy the full SHA d5b7488View commit details