Skip to content

Commit a60a26f

Browse files
committed
sty: run ruff format
1 parent 50457ce commit a60a26f

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

mriqc/interfaces/bids.py

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -187,15 +187,17 @@ def _run_interface(self, runtime):
187187
self._out_dict['provenance'] = {}
188188
self._out_dict['provenance'].update(prov_dict)
189189

190-
Path(out_file).write_bytes(json.dumps(
191-
self._out_dict,
192-
option=(
193-
json.OPT_SORT_KEYS
194-
| json.OPT_INDENT_2
195-
| json.OPT_APPEND_NEWLINE
196-
| json.OPT_SERIALIZE_NUMPY
197-
),
198-
))
190+
Path(out_file).write_bytes(
191+
json.dumps(
192+
self._out_dict,
193+
option=(
194+
json.OPT_SORT_KEYS
195+
| json.OPT_INDENT_2
196+
| json.OPT_APPEND_NEWLINE
197+
| json.OPT_SERIALIZE_NUMPY
198+
),
199+
)
200+
)
199201
return runtime
200202

201203

mriqc/interfaces/webapi.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ def _run_interface(self, runtime):
155155
modality=self.inputs.modality,
156156
)
157157

158-
159158
payload_str = orjson.dumps(
160159
payload,
161160
option=(

0 commit comments

Comments
 (0)