summaryrefslogtreecommitdiff
path: root/tests/input
diff options
context:
space:
mode:
authorAditya Gupta <adityagupta1089@users.noreply.github.com>2021-05-17 19:26:41 +0530
committerGitHub <noreply@github.com>2021-05-17 15:56:41 +0200
commit1e544e97e920af69938a5f0bff61f19e93987d0d (patch)
tree220d8d6325e1702a8fb1ad3358b341912c5dab2b /tests/input
parentd150e399903e13aa4edd8644e98f4e742b2d3662 (diff)
downloadpylint-git-1e544e97e920af69938a5f0bff61f19e93987d0d.tar.gz
Add ignore_signatures to similarity checker (#4474)
* Add ignore_signatures to similarity checker Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Diffstat (limited to 'tests/input')
-rw-r--r--tests/input/similar58
-rw-r--r--tests/input/similar615
2 files changed, 23 insertions, 0 deletions
diff --git a/tests/input/similar5 b/tests/input/similar5
new file mode 100644
index 000000000..d87610b1e
--- /dev/null
+++ b/tests/input/similar5
@@ -0,0 +1,8 @@
+def func1(
+ arg1: int = 3,
+ arg2: Class1 = val1,
+ arg3: Class2 = func3(val2),
+ arg4: int = 4,
+ arg5: int = 5
+) -> Ret1:
+ pass
diff --git a/tests/input/similar6 b/tests/input/similar6
new file mode 100644
index 000000000..0377e9284
--- /dev/null
+++ b/tests/input/similar6
@@ -0,0 +1,15 @@
+
+@deco1(dval1)
+@deco2(dval2)
+@deco3(
+ dval3,
+ dval4
+)
+async def func2(
+ arg1: int = 3,
+ arg2: Class1 = val1,
+ arg3: Class2 = func3(val2),
+ arg4: int = 4,
+ arg5: int = 5
+) -> Ret1:
+ pass