Pass code-smell paths on stdin.

This commit is contained in:
Matt Clay 2018-02-26 23:32:19 -08:00
parent 87d6bdaf98
commit 60a24bbdaa
15 changed files with 18 additions and 16 deletions

View file

@ -10,7 +10,7 @@ def main():
'test/sanity/code-smell/%s' % os.path.basename(__file__),
])
for path in sys.argv[1:]:
for path in sys.argv[1:] or sys.stdin.read().splitlines():
if path in skip:
continue