Skip to content

Commit

Permalink
TYP: annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
lbluque committed Sep 27, 2023
1 parent 4e12fb2 commit 936c90c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sparselm/_utils/validation.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
"""Data and hyper-parameters validation utilities."""

from __future__ import annotations

import numpy as np
from numpy.typing import NDArray

Expand Down
3 changes: 3 additions & 0 deletions src/sparselm/model_selection.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
"""Classes implementing parameters selection beyond GridsearchCV."""

from __future__ import annotations

__author__ = "Fengyu Xie"

import numbers
Expand Down

0 comments on commit 936c90c

Please sign in to comment.