8000 Type `setproctitle` · DMOJ/judge-server@e91d854 · GitHub
[go: up one dir, main page]

Skip to content

Commit e91d854

Browse files
authored
Type setproctitle
Fix `All conditional function variants must have identical signatures`, see python/mypy#10575.
1 parent 12b42f6 commit e91d854

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dmoj/judge.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
from setproctitle import setproctitle
2828
except ImportError:
2929

30-
def setproctitle(title):
30+
def setproctitle(title: str) -> None:
3131
pass
3232

3333

0 commit comments

Comments
 (0)
0