Skip to content

Commit a54ca86

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

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
@@ -226,7 +226,7 @@ def _parse_qstat_job_list(self, xml_job_list):
226226
time.mktime(time.strptime(job_time_text, "%Y-%m-%dT%H:%M:%S"))
227227
)
228228
except:
229-
job_time = float(0.0)
229+
job_time = 0.0
230230
# Make job entry
231231

232232
task_id = int(job_num)

0 commit comments

Comments
 (0)