We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 658269d commit 7defcbdCopy full SHA for 7defcbd
2 files changed
doc/data/messages/m/missing-type-doc/bad.py
@@ -1,7 +1,6 @@
1
-def integer_sum(a, b): # [missing-type-doc]
+def integer_sum(a: int, b): # [missing-type-doc]
2
"""Returns sum of two integers
3
:param a: first integer
4
- :type a: int
5
:param b: second integer
6
"""
7
return a + b
doc/data/messages/m/missing-type-doc/good.py
@@ -1,8 +1,6 @@
-def integer_sum(a, b):
+def integer_sum(a: int, b: int):
- :type b: int
8
0 commit comments