mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 12:21:26 -07:00
Pass code-smell paths on stdin.
This commit is contained in:
parent
87d6bdaf98
commit
60a24bbdaa
15 changed files with 18 additions and 16 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue