Skip to content

Commit

Permalink
Silence the linter warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nkaretnikov committed Dec 8, 2023
1 parent f71a435 commit 7ec67e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion argo_jupyter_scheduler/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def delete_job(self, job_id: str, delete_workflow: bool = True):
# and remove them
basedir = os.path.dirname(path)
for f in next(os.walk(basedir))[1]:
f = os.path.join(basedir, f)
f = os.path.join(basedir, f) # noqa: PLW2901
if os.path.islink(f) and os.path.realpath(f) == realpath:
os.unlink(f)
# Then we remove the real staging job directory, where
Expand Down

0 comments on commit 7ec67e3

Please sign in to comment.