Skip to content

Commit

Permalink
Apply ruff/pyupgrade rule UP015
Browse files Browse the repository at this point in the history
UP015 Unnecessary open mode parameters
  • Loading branch information
DimitriPapadopoulos committed Nov 24, 2024
1 parent 6d7277a commit 802475e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nipype/pipeline/plugins/tests/test_callback.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def test_callback_gantt(tmp_path: Path, plugin: str) -> None:
plugin_args["n_procs"] = 8
wf.run(plugin=plugin, plugin_args=plugin_args)

with open(log_filename, "r") as _f:
with open(log_filename) as _f:
loglines = _f.readlines()

# test missing duration
Expand Down

0 comments on commit 802475e

Please sign in to comment.