Skip to content

Commit fc63aaa

Browse files
STY: Apply ruff/pyupgrade rule UP018
UP018 Unnecessary `float` call (rewrite as a literal)
1 parent a17de8e commit fc63aaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/pipeline/plugins/sge.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ def _parse_qstat_job_list(self, xml_job_list):
227227
time.mktime(time.strptime(job_time_text, "%Y-%m-%dT%H:%M:%S"))
228228
)
229229
except:
230-
job_time = float(0.0)
230+
job_time = 0.0
231231
# Make job entry
232232

233233
task_id = int(job_num)

0 commit comments

Comments
 (0)