diff --git a/doc/data/messages/m/missing-type-doc/bad.py b/doc/data/messages/m/missing-type-doc/bad.py new file mode 100644 index 0000000000..e5ba9e9af7 --- /dev/null +++ b/doc/data/messages/m/missing-type-doc/bad.py @@ -0,0 +1,6 @@ +def integer_sum(a: int, b): # [missing-type-doc] + """Returns sum of two integers + :param a: first integer + :param b: second integer + """ + return a + b diff --git a/doc/data/messages/m/missing-type-doc/good.py b/doc/data/messages/m/missing-type-doc/good.py new file mode 100644 index 0000000000..b2885dd585 --- /dev/null +++ b/doc/data/messages/m/missing-type-doc/good.py @@ -0,0 +1,6 @@ +def integer_sum(a: int, b: int): + """Returns sum of two integers + :param a: first integer + :param b: second integer + """ + return a + b