pytype: pass --strict-none-binding to pytype
Without this option, pytype sometimes assigns type Any to a variable even though it clearly can be None. The following is a typing error which is catched with this option but not without: x = None def f(): return x.upper()
parent
9af1acc1ffab
Branches topic/default/clean-setup.py
No related tags found
Loading