diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2623afd..557ebf4 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest environment: name: pypi - url: https://pypi.org/p/fast_knn_imputation + url: https://pypi.org/p/fknni permissions: id-token: write # IMPORTANT: this permission is mandatory for trusted publishing steps: diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index c5b152b..2bfe232 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -24,11 +24,11 @@ jobs: matrix: include: - os: ubuntu-latest - python: "3.9" + python: "3.10" - os: ubuntu-latest - python: "3.11" + python: "3.12" - os: ubuntu-latest - python: "3.11" + python: "3.12" pip-flags: "--pre" name: PRE-RELEASE DEPENDENCIES diff --git a/pyproject.toml b/pyproject.toml index f0949c7..c34314e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,7 +48,7 @@ test = [ ] [tool.coverage.run] -source = ["fast_knn_imputation"] +source = ["fknni"] omit = [ "**/test_*.py", ] diff --git a/src/fknni/faiss/faiss.py b/src/fknni/faiss/faiss.py index 596f8af..3bc63be 100644 --- a/src/fknni/faiss/faiss.py +++ b/src/fknni/faiss/faiss.py @@ -40,9 +40,6 @@ def fit(self, X: np.ndarray | pd.DataFrame, *, y: np.ndarray | None = None) -> " Raises: ValueError: If any parameters are set to an invalid value. - - Returns: - self: Instance with fitted data. """ X = check_array(X, dtype=np.float32, force_all_finite="allow-nan")