-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
✨ Added new Error to TypedDict #14225
Commits on Nov 30, 2022
-
✨ Added new Error to TypedDict
See: [python#4617](python#4617) This allows the following code to trigger the error `typeddict-unknown-key` ```python A = T.TypedDict("A", {"x": int}) def f(x: A) -> None: ... f({"x": 1, "y": "foo"}) ``` The user can then safely ignore this specific error at their disgression.
Configuration menu - View commit details
-
Copy full SHA for c7824be - Browse repository at this point
Copy the full SHA c7824beView commit details -
Configuration menu - View commit details
-
Copy full SHA for f19a7f7 - Browse repository at this point
Copy the full SHA f19a7f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a4220c - Browse repository at this point
Copy the full SHA 2a4220cView commit details -
🧑🔬 Fixed simple error-code tests
We now return two instead of one
Configuration menu - View commit details
-
Copy full SHA for fcf4909 - Browse repository at this point
Copy the full SHA fcf4909View commit details
Commits on Dec 2, 2022
-
Update test-data/unit/check-typeddict.test
Co-authored-by: Ivan Levkivskyi <levkivskyi@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for deb6543 - Browse repository at this point
Copy the full SHA deb6543View commit details -
Update test-data/unit/check-errorcodes.test
Co-authored-by: Ivan Levkivskyi <levkivskyi@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 222869d - Browse repository at this point
Copy the full SHA 222869dView commit details
Commits on Dec 5, 2022
-
✨ We now typecheck despite having an extra-key
🧑🔬 Added test to check this behaviour
Configuration menu - View commit details
-
Copy full SHA for 70c0a18 - Browse repository at this point
Copy the full SHA 70c0a18View commit details -
Configuration menu - View commit details
-
Copy full SHA for eda0c8b - Browse repository at this point
Copy the full SHA eda0c8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 25f3dbc - Browse repository at this point
Copy the full SHA 25f3dbcView commit details -
Configuration menu - View commit details
-
Copy full SHA for c7c687f - Browse repository at this point
Copy the full SHA c7c687fView commit details
Commits on Dec 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a275c86 - Browse repository at this point
Copy the full SHA a275c86View commit details -
We don't need to convert dict_keys/items to set. Also fixed the comment saying literally the opposite of what was happening
Configuration menu - View commit details
-
Copy full SHA for f7a7f4f - Browse repository at this point
Copy the full SHA f7a7f4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 06a3866 - Browse repository at this point
Copy the full SHA 06a3866View commit details -
Configuration menu - View commit details
-
Copy full SHA for 780e10d - Browse repository at this point
Copy the full SHA 780e10dView commit details
Commits on Jan 23, 2023
-
Review Feedback - Better Docstrings
Co-authored-by: Ivan Levkivskyi <levkivskyi@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for fb98524 - Browse repository at this point
Copy the full SHA fb98524View commit details -
Configuration menu - View commit details
-
Copy full SHA for 708d322 - Browse repository at this point
Copy the full SHA 708d322View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4b82b6 - Browse repository at this point
Copy the full SHA e4b82b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c9a623 - Browse repository at this point
Copy the full SHA 1c9a623View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4f0cd0 - Browse repository at this point
Copy the full SHA f4f0cd0View commit details
Commits on Jan 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 957ba17 - Browse repository at this point
Copy the full SHA 957ba17View commit details