Skip to content

Commit

Permalink
Update typing for Python 3.9+ (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
reidjohnson authored Oct 1, 2024
1 parent 60a9dbd commit 11cf5b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions quantile_forest/tests/test_quantile_forest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import math
import pickle
import warnings
from typing import Any, Dict
from typing import Any

import numpy as np
import pytest
Expand Down Expand Up @@ -41,7 +41,7 @@
X_california = california.data[perm]
y_california = california.target[perm]

FOREST_REGRESSORS: Dict[str, Any] = {
FOREST_REGRESSORS: dict[str, Any] = {
"ExtraTreesQuantileRegressor": ExtraTreesQuantileRegressor,
"RandomForestQuantileRegressor": RandomForestQuantileRegressor,
}
Expand Down

0 comments on commit 11cf5b1

Please sign in to comment.