PY-16412 Start working on the intention to generate variable annotations

This commit is contained in:
Mikhail Golubev
2018-02-05 21:41:59 +03:00
committed by Andrey Vlasovskikh
parent 46cff81cee
commit 0cb6c91134
8 changed files with 144 additions and 0 deletions
@@ -0,0 +1,5 @@
class C:
attr: str
def __init__(self, attr='spam'):
self.attr = attr
@@ -0,0 +1,3 @@
class C:
def __init__(self, attr='spam'):
self.attr = attr
@@ -0,0 +1,6 @@
<html>
<body>
<span>This intention adds type hints for variables in PEP 484 compatible format.</span>
<!-- tooltip end -->
</body>
</html>