Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update common issues to include __init__ without arguments (#8303)
This is the implication of #5677 where the return type of `__init__` is inferred given that at least one argument is typed. However, if no argument is present in `__init__`, `-> None` becomes compulsory if we are to enable type-checking on that method without using `--check-untyped-defs` flag. I believe it is worth mentioning in the section of "No errors reported for obviously wrong code".
- Loading branch information