Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: zethson <[email protected]>
  • Loading branch information
Zethson committed Apr 23, 2024
1 parent 392be82 commit bd6cc9e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ test = [
]

[tool.coverage.run]
source = ["fast_knn_imputation"]
source = ["fknni"]
omit = [
"**/test_*.py",
]
Expand Down
3 changes: 0 additions & 3 deletions src/fknni/faiss/faiss.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit bd6cc9e

Please sign in to comment.