Browse code

fix whitespace issues

Joseph Weston authored on 20/12/2018 22:35:02
Showing 4 changed files
... ...
@@ -32,7 +32,7 @@ def notebook_extension():
32 32
     except ModuleNotFoundError:
33 33
         warnings.warn("holoviews is not installed; plotting "
34 34
                       "is disabled.", RuntimeWarning)
35
-    
35
+
36 36
     # Load ipywidgets
37 37
     try:
38 38
         if not _ipywidgets_enabled:
... ...
@@ -248,16 +248,16 @@ class BaseRunner(metaclass=abc.ABCMeta):
248 248
     def failed(self):
249 249
         """Set of points that failed ``runner.retries`` times."""
250 250
         return set(self.tracebacks) - set(self.to_retry)
251
-    
251
+
252 252
     @abc.abstractmethod
253 253
     def elapsed_time(self):
254 254
         """Return the total time elapsed since the runner
255 255
         was started.
256
-        
256
+
257 257
         Is called in `overhead`.
258 258
         """
259 259
         pass
260
-    
260
+
261 261
     @abc.abstractmethod
262 262
     def _submit(self, x):
263 263
         """Is called in `_get_futures`."""
... ...
@@ -29,7 +29,7 @@ def test_faiure_case_LearnerND():
29 29
 
30 30
 def test_interior_vs_bbox_gives_same_result():
31 31
     f = generate_random_parametrization(ring_of_fire)
32
-    
32
+
33 33
     control = LearnerND(f, bounds=[(-1, 1), (-1, 1)])
34 34
     hull = scipy.spatial.ConvexHull(control._bounds_points)
35 35
     learner = LearnerND(f, bounds=hull)
... ...
@@ -8,7 +8,7 @@ def test_private_api_used_in_live_info():
8 8
     """We are catching all errors in
9 9
     adaptive.notebook_integration.should_update
10 10
     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
12 12
     # https://github.com/ipython/ipykernel/issues/365
13 13
     ctx = zmq.Context()
14 14
     iopub_socket = ctx.socket(zmq.PUB)