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 18bf64c commit b111849Copy full SHA for b111849
2 files changed
doc/data/messages/m/missing-return-type-doc/bad.py
@@ -0,0 +1,7 @@
1
+def integer_sum(a, b): # [missing-return-type-doc]
2
+ """Returns sum of two integers
3
+ :param a: first integer
4
+ :type a: int
5
+ :return: sum of parameters a and b
6
+ """
7
+ return a + b
doc/data/messages/m/missing-return-type-doc/good.py
@@ -0,0 +1,10 @@
+def integer_sum(a, b):
+ :param b: second integer
+ :type b: int
8
+ :rtype: int
9
10
0 commit comments