mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-25 09:48:09 +02:00
Count LoC in tests and docs as well
This commit is contained in:
@@ -15,7 +15,7 @@ for line in cp.stdout.decode().splitlines():
|
|||||||
files_to_exclude += '\n' + line.split(':')[0]
|
files_to_exclude += '\n' + line.split(':')[0]
|
||||||
|
|
||||||
p = subprocess.Popen([
|
p = subprocess.Popen([
|
||||||
'cloc', '--exclude-list-file', '/dev/stdin', 'kitty', 'kittens', 'tools',
|
'cloc', '--exclude-list-file', '/dev/stdin', 'kitty', 'kittens', 'tools', 'kitty_tests', 'docs',
|
||||||
], stdin=subprocess.PIPE)
|
], stdin=subprocess.PIPE)
|
||||||
p.communicate(files_to_exclude.encode('utf-8'))
|
p.communicate(files_to_exclude.encode('utf-8'))
|
||||||
raise SystemExit(p.wait())
|
raise SystemExit(p.wait())
|
||||||
|
|||||||
Reference in New Issue
Block a user