Skip to content

Commit d00ac7c

Browse files
committed
Update flake8 codes
1 parent 4aa661e commit d00ac7c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

example.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,23 +48,23 @@ def main():
4848
label = myplist["Label"]
4949
job = launchd.LaunchdJob(label)
5050
if not job.exists():
51-
print("'%s' is not loaded in launchd. Installing..." % (label)) # noqa: T001
51+
print("'%s' is not loaded in launchd. Installing..." % (label)) # noqa: T201
5252
install(label, myplist)
5353
while job.pid is not None:
54-
print("Alive! PID = %s" % job.pid) # noqa: T001
54+
print("Alive! PID = %s" % job.pid) # noqa: T201
5555
job.refresh()
5656
time.sleep(0.2)
5757
else:
5858
if job.pid is None:
59-
print("'%s' is loaded but not currently running" % (job.label)) # noqa: T001
59+
print("'%s' is loaded but not currently running" % (job.label)) # noqa: T201
6060
else:
61-
print("'%s' is loaded and currently running: PID = %s" % (job.label, job.pid)) # noqa: T001
61+
print("'%s' is loaded and currently running: PID = %s" % (job.label, job.pid)) # noqa: T201
6262
while job.pid is not None:
63-
print("Alive! PID = %s" % job.pid) # noqa: T001
63+
print("Alive! PID = %s" % job.pid) # noqa: T201
6464
job.refresh()
6565
time.sleep(0.2)
6666

67-
print("Uninstalling again...") # noqa: T001
67+
print("Uninstalling again...") # noqa: T201
6868
uninstall(label)
6969
return 0
7070

0 commit comments

Comments
 (0)