From d0b1ed64ff64d44027339235d927e23291a7fd25 Mon Sep 17 00:00:00 2001 From: Alexander Goscinski Date: Mon, 20 May 2024 16:45:26 +0200 Subject: [PATCH] Introduce D410 D411 linter rules and fix them --- pyproject.toml | 2 -- src/skmatter/decomposition/_kernel_pcovr.py | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index bb3b0b952..019f9b395 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -98,8 +98,6 @@ lint.ignore = [ "D205", "D400", "D401", - "D410", - "D411", ] line-length = 88 lint.select = [ diff --git a/src/skmatter/decomposition/_kernel_pcovr.py b/src/skmatter/decomposition/_kernel_pcovr.py index a76c63e28..520e542ae 100644 --- a/src/skmatter/decomposition/_kernel_pcovr.py +++ b/src/skmatter/decomposition/_kernel_pcovr.py @@ -465,6 +465,7 @@ def score(self, X, Y): independent (predictor) variable Y : numpy.ndarray dependent (response) variable + Returns ------- L : float