Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 23, 2022
1 parent e0acc3b commit 20d9a6b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/pyepal/pal/pal_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import logging
import warnings
from copy import deepcopy
from typing import Iterable, List, Union, Tuple
from typing import Iterable, List, Tuple, Union

import numpy as np
from sklearn.metrics import mean_absolute_error
Expand Down
1 change: 1 addition & 0 deletions src/pyepal/pal/pal_ensemble.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
import numpy as np


Expand Down
8 changes: 5 additions & 3 deletions tests/test_pal_ensemble.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
from pyepal.pal.pal_ensemble import PALEnsemble
import pytest
# -*- coding: utf-8 -*-
import numpy as np
import pytest

from pyepal.pal.pal_ensemble import PALEnsemble


def test_pal_ensemble_init(make_random_dataset):
from pyepal.pal.pal_gpy import PALGPy
from pyepal.models.gpr import build_model
from pyepal.pal.pal_gpy import PALGPy

X, y = make_random_dataset
sample_idx = np.array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10])
Expand Down

0 comments on commit 20d9a6b

Please sign in to comment.