From 0cd65739167a12bcb4f4035b5ba69d32bcd24f5c Mon Sep 17 00:00:00 2001 From: vansh Date: Wed, 18 Feb 2026 14:10:52 +0530 Subject: [PATCH 1/2] introduced a bug --- hello.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hello.py b/hello.py index dc8227b07..4124524fe 100644 --- a/hello.py +++ b/hello.py @@ -116,6 +116,9 @@ def chained_comparison(): c = 3 return a < b and b < c +def add(a: str, b: str): + return int(a + b) + if __name__ == "__main__": args = ["--disable", "all"] f = open("/tmp/.deepsource.toml", "r") From 886974092c78b00d74c191dd6802965c8bec0109 Mon Sep 17 00:00:00 2001 From: vansh-deepsource Date: Wed, 18 Feb 2026 14:36:50 +0530 Subject: [PATCH 2/2] expanded the bug --- hello.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hello.py b/hello.py index 4124524fe..c8a6cafb8 100644 --- a/hello.py +++ b/hello.py @@ -116,7 +116,7 @@ def chained_comparison(): c = 3 return a < b and b < c -def add(a: str, b: str): +def add(a: str, b: str) -> str: return int(a + b) if __name__ == "__main__":