Debian Codegraph @

utils/list_todos.py

raw symbols SCIP
1 import sys
2
3 buffer = sys.argv[1]
4
5 for line in buffer.splitlines()[1:]:
6 if line.startswith("./project-config"):
7 continue
8
9 file, comment = line.split("#")
10
11 file = file.strip()
12 comment = "# " + comment.strip()
13
14 print(f"{file}{' ' * (40 - len(file))}{comment}")