Jannic Beck
Jannic Beck
## Motivation If a variable is unknown / the function node deferred, `mypy` should not emit `Implicit return in function which does not return` or `Missing return statement` errors. Assume...
Proposal for https://github.com/apryor6/flask_accepts/issues/116.
> The use of missing/default field parameters is deprecated and will be removed in marshmallow 4. load_default/dump_default should be used instead. Source: https://github.com/marshmallow-code/marshmallow/blob/dev/CHANGELOG.rst#3130-2021-07-21 The following code as well as the...
#### Motivation ``` def f(): try: return except: raise Exception() print("Unreachable") ``` At the moment, the `print` statement is not identified as unreachable. ## Implementation I added a data structure...
Fix `TypeIs` narrowing for types with type parameters in `Union` types. Addresses: https://github.com/python/mypy/issues/17181 Example: ``` bar: list[int] | list[str] if is_list_int(bar):
Closes: https://github.com/rustedpy/result/issues/180
Closes: https://github.com/rustedpy/result/issues/181