mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Pass code-smell paths on stdin.
This commit is contained in:
@@ -15,7 +15,7 @@ def main():
|
||||
'lib/ansible/module_utils/six/__init__.py',
|
||||
])
|
||||
|
||||
for path in sys.argv[1:]:
|
||||
for path in sys.argv[1:] or sys.stdin.read().splitlines():
|
||||
if path in skip:
|
||||
continue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user