Skip to content

Commit

Permalink
fixing python formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
daues committed Nov 29, 2023
1 parent f55e76c commit 18d63ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/lsst/ctrl/execute/slurmPlugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def glideinsFromJobPressure(self):
schedd_ad = coll.locate(htcondor.DaemonTypes.Schedd)
scheddref = htcondor.Schedd(schedd_ad)
# projection contains the job classads to be returned.
# These include the cpu and memory profile of each job,
# These include the cpu and memory profile of each job,
# in the form of RequestCpus and RequestMemory
projection = [
"JobStatus",
Expand All @@ -214,10 +214,10 @@ def glideinsFromJobPressure(self):
"JobUniverse",
"RequestMemory",
]
owner = f"(Owner==\"{auser}\") "
owner = f'(Owner=="{auser}") '
jstat = "&& (JobStatus==1) "
juniv = "&& (JobUniverse==5)"
# The constraint determines that the jobs to be returned belong to
# The constraint determines that the jobs to be returned belong to
# the current user (Owner), are vanilla universe jobs, and are Idle.

Check failure on line 221 in python/lsst/ctrl/execute/slurmPlugin.py

View workflow job for this annotation

GitHub Actions / call-workflow / lint

W505

doc line too long (80 > 79 characters)
full_constraint = f"{owner}{jstat}{juniv}"
if verbose:
Expand Down

0 comments on commit 18d63ec

Please sign in to comment.