From 5ad971ffecc6d5e307e048ff9852c69b92917b94 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Wed, 30 Sep 2026 11:59:12 +0200 Subject: [PATCH] Silence pylint arguments-differ for narrowed erf __call__ pylint 4.1.0 (PR #11303) started checking parameter counts of overridden dunder methods, so DPNPErf.__call__ -- which intentionally narrows the base DPNPUnaryFunc signature to (x, out) -- now trips arguments-differ. The narrowing is deliberate, so disable the check on that line. --- dpnp/scipy/special/_erf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dpnp/scipy/special/_erf.py b/dpnp/scipy/special/_erf.py index 19b195efad0d..49dfaa88a453 100644 --- a/dpnp/scipy/special/_erf.py +++ b/dpnp/scipy/special/_erf.py @@ -67,7 +67,7 @@ def __init__( mkl_impl_fn=mkl_impl_fn, ) - def __call__(self, x, /, out=None): + def __call__(self, x, /, out=None): # pylint: disable=arguments-differ return super().__call__(x, out=out)