8000 STY: Apply ruff/flake8-pie rules (PIE) by DimitriPapadopoulos · Pull Request #3678 · nipy/nipype · GitHub
[go: up one dir, main page]

Skip to content

STY: Apply ruff/flake8-pie rules (PIE) #3678

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Oct 6, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
STY: Apply ruff/flake8-pie rule PIE804
PIE804 Unnecessary `dict` kwargs
  • Loading branch information
DimitriPapadopoulos committed Oct 5, 2024
commit 3681fa48ccc9e3e440b03bde2702529580f97ba2
2 changes: 1 addition & 1 deletion nipype/pipeline/engine/tests/test_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ def func1(in1):
# check that multiple json's don't trigger rerun
with open(os.path.join(node.output_dir(), "test.json"), "w") as fp:
fp.write("dummy file")
w1.config["execution"].update(**{"stop_on_first_rerun": True})
w1.config["execution"].update(stop_on_first_rerun=True)

w1.run()

Expand Down
0