Skip to content

Commit ca1b4b9

Browse files
committed
fix whitespace issues
1 parent aa045cc commit ca1b4b9

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

adaptive/notebook_integration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def notebook_extension():
3232
except ModuleNotFoundError:
3333
warnings.warn("holoviews is not installed; plotting "
3434
"is disabled.", RuntimeWarning)
35-
35+
3636
# Load ipywidgets
3737
try:
3838
if not _ipywidgets_enabled:

adaptive/runner.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,16 +248,16 @@ def _cleanup(self):
248248
def failed(self):
249249
"""Set of points that failed ``runner.retries`` times."""
250250
return set(self.tracebacks) - set(self.to_retry)
251-
251+
252252
@abc.abstractmethod
253253
def elapsed_time(self):
254254
"""Return the total time elapsed since the runner
255255
was started.
256-
256+
257257
Is called in `overhead`.
258258
"""
259259
pass
260-
260+
261261
@abc.abstractmethod
262262
def _submit(self, x):
263263
"""Is called in `_get_futures`."""

adaptive/tests/test_learnernd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def test_faiure_case_LearnerND():
2929

3030
def test_interior_vs_bbox_gives_same_result():
3131
f = generate_random_parametrization(ring_of_fire)
32-
32+
3333
control = LearnerND(f, bounds=[(-1, 1), (-1, 1)])
3434
hull = scipy.spatial.ConvexHull(control._bounds_points)
3535
learner = LearnerND(f, bounds=hull)

adaptive/tests/test_notebook_integration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def test_private_api_used_in_live_info():
88
"""We are catching all errors in
99
adaptive.notebook_integration.should_update
1010
so if ipykernel changed its API it would happen unnoticed."""
11-
# XXX: find a potential better solution in
11+
# XXX: find a potential better solution in
1212
# https://github.com/ipython/ipykernel/issues/365
1313
ctx = zmq.Context()
1414
iopub_socket = ctx.socket(zmq.PUB)

0 commit comments

Comments
 (0)