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 Oct 11, 2024
1 parent 6971779 commit 1d45f27
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion tests/estimagic/test_bootstrap_ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
import numpy as np
import pandas as pd
import pytest
from pybaum import tree_just_flatten

from estimagic.bootstrap_ci import calculate_ci, check_inputs
from estimagic.bootstrap_samples import get_bootstrap_indices
from optimagic.parameters.tree_registry import get_registry
from optimagic.utilities import get_rng
from pybaum import tree_just_flatten


def aaae(obj1, obj2, decimal=6):
Expand Down
7 changes: 4 additions & 3 deletions tests/estimagic/test_bootstrap_samples.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
import numpy as np
import pandas as pd
import pytest
from numpy.testing import assert_array_equal as aae
from pandas.testing import assert_frame_equal as afe
from pandas.testing import assert_series_equal as ase

from estimagic.bootstrap_samples import (
_calculate_bootstrap_indices_weights,
_convert_cluster_ids_to_indices,
_get_bootstrap_samples_from_indices,
get_bootstrap_indices,
get_bootstrap_samples,
)
from numpy.testing import assert_array_equal as aae
from optimagic.utilities import get_rng
from pandas.testing import assert_frame_equal as afe
from pandas.testing import assert_series_equal as ase


@pytest.fixture()
Expand Down

0 comments on commit 1d45f27

Please sign in to comment.