Skip to content
Merged

Black #1593

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libensemble/tests/functionality_tests/check_libE_stats.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Script to check format of libE_stats.txt
"""Script to check format of libE_stats.txt

Checks matching start and end times existing for calculation and tasks if
required. Checks that dates/times are in a valid format.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def run_simulation(H, persis_info, sim_specs, libE_info):
z = 8
elif task == "cheap_model":
z = 1
print('in sim', task)
print("in sim", task)

libE_output = np.zeros(1, dtype=sim_specs["out"])
calc_status = WORKER_DONE
Expand Down
2 changes: 1 addition & 1 deletion libensemble/tests/unit_tests_logger/test_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def test_custom_log_levels():
logger_test.manager_warning("This manager_warning message should log")
logger_test.vdebug("This vdebug message should log")

with open(LogConfig.config.filename, 'r') as f:
with open(LogConfig.config.filename, "r") as f:
file_content = f.read()
assert "This manager_warning message should log" in file_content
assert "This vdebug message should log" in file_content
Expand Down
2 changes: 1 addition & 1 deletion scripts/plot_libe_calcs_util_v_time.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python

""" User function utilization plot
"""User function utilization plot

Script to produce utilization plot based on how many workers are running user
functions (sim or gens) at any given time. The plot is written to a file.
Expand Down
2 changes: 1 addition & 1 deletion scripts/plot_libe_histogram.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python

""" Histogram of user function run-times (completed & killed).
"""Histogram of user function run-times (completed & killed).

Script to produce a histogram plot giving a count of user function (sim or
gen) calls by run-time intervals. Color shows completed versus killed versus
Expand Down
2 changes: 1 addition & 1 deletion scripts/plot_libe_tasks_util_v_time.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python

""" User tasks utilization plot
"""User tasks utilization plot

Script to produce utilisation plot based on how many workers are running user
tasks (submitted via a libEnsemble executor) at any given time. This does not
Expand Down
Loading