Silence purposeful pylint errors
@@ -11,11 +11,12 @@ def erroring_resolvers():
@query.field("hello")
def resolve_hello_with_context_and_attribute_error(*_):
+ # pylint: disable=undefined-variable, unused-variable
test_int = 123
test_str = "test"
test_dict = {"test": "dict"}
test_obj = query
- test_c.error() # trigger attr not found error
+ test_undefined.error() # trigger attr not found error
return query
