@@ -90,7 +90,7 @@ def function1():
9090 return 1234
9191
9292 @transformed
93- def function2 (a = 5 ):
93+ def function2 (a = 5 ): # noqa: ARG001
9494 return 1234
9595
9696 @transformed
@@ -107,7 +107,7 @@ def function1():
107107 return 1234
108108
109109 @transformed
110- def function2 (a = 5 ):
110+ def function2 (a = 5 ): # noqa: ARG001
111111 return 1234
112112
113113 @transformed
@@ -124,7 +124,7 @@ def function1():
124124 return 1234
125125
126126 @transformed
127- def function2 (a = 5 ):
127+ def function2 (a = 5 ): # noqa: ARG001
128128 return 1234
129129
130130 @transformed
@@ -133,7 +133,7 @@ def function3():
133133 return 1234
134134
135135 @transformed
136- def function4 (a = 5 ):
136+ def function4 (a = 5 ): # noqa: ARG001
137137 """kek"""
138138 return 1234
139139
@@ -149,7 +149,7 @@ def function1():
149149 return 1234
150150
151151 @transformed
152- def function2 (a = 5 ):
152+ def function2 (a = 5 ): # noqa: ARG001
153153 return 1234
154154
155155 @transformed
@@ -158,7 +158,7 @@ def function3():
158158 return 1234
159159
160160 @transformed
161- def function4 (a = 5 ):
161+ def function4 (a = 5 ): # noqa: ARG001
162162 """kek"""
163163 return 1234
164164
@@ -182,12 +182,12 @@ def function():
182182
183183def test_hash_simple_lambda ():
184184 lambda_hash = getsourcehash (lambda x : x )
185- assert lambda_hash == '14FXP9 '
185+ assert lambda_hash == 'HVND1V '
186186
187187
188188def test_hash_lambda_only_body ():
189189 first_hash = getsourcehash (lambda x : x , only_body = True )
190- second_hash = getsourcehash (lambda x , y : x , only_body = True )
190+ second_hash = getsourcehash (lambda x , y : x , only_body = True ) # noqa: ARG005
191191
192192 assert first_hash == '91MJ41'
193193 assert first_hash == second_hash
0 commit comments