Skip to content

Commit 6914a78

Browse files
committed
sort imports
1 parent ed8645d commit 6914a78

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

adaptive/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
Learner1D,
1414
Learner2D,
1515
LearnerND,
16-
make_datasaver,
1716
SequenceLearner,
17+
make_datasaver,
1818
)
1919
from adaptive.notebook_integration import (
2020
active_plotting_tasks,

adaptive/learner/balancing_learner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# -*- coding: utf-8 -*-
22

3+
import itertools
34
from collections import defaultdict
45
from collections.abc import Iterable
56
from contextlib import suppress
67
from functools import partial
7-
import itertools
88
from operator import itemgetter
99

1010
import numpy as np

adaptive/learner/sequence_learner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from copy import copy
22

3-
from sortedcontainers import SortedSet, SortedDict
3+
from sortedcontainers import SortedDict, SortedSet
44

55
from adaptive.learner.base_learner import BaseLearner
66

adaptive/tests/test_balancing_learner.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from adaptive.learner import BalancingLearner, Learner1D
66
from adaptive.runner import simple
77

8-
98
strategies = ["loss", "loss_improvements", "npoints", "cycle"]
109

1110

0 commit comments

Comments
 (0)