Properly enforce shebang on collections.
This commit is contained in:
parent
013b0039ba
commit
d5542afd97
11 changed files with 11 additions and 11 deletions
test
integration/targets/collections
collection_root_sys/ansible_collections/testns
collection_root_user/ansible_collections/testns/testcoll/plugins/modules
ping.pytestmodule.pyuses_base_mu_granular_nested_import.pyuses_leaf_mu_flat_import.pyuses_leaf_mu_granular_import.pyuses_leaf_mu_module_import_from.py
collections/ansible_collections/testns/content_adj/plugins/modules
sanity/code-smell
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/python
|
||||
|
||||
import json
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/python
|
||||
|
||||
import json
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/python
|
||||
|
||||
import json
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/python
|
||||
|
||||
import json
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/python
|
||||
|
||||
import json
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/python
|
||||
|
||||
import json
|
||||
import sys
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/python
|
||||
|
||||
import json
|
||||
import sys
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/python
|
||||
|
||||
import json
|
||||
import sys
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/python
|
||||
|
||||
import json
|
||||
import sys
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/python
|
||||
|
||||
import json
|
||||
|
||||
|
|
|
@ -89,7 +89,7 @@ def main():
|
|||
|
||||
dirname = os.path.dirname(path)
|
||||
|
||||
if dirname.endswith('/library') or dirname in (
|
||||
if dirname.endswith('/library') or dirname.endswith('/plugins/modules') or dirname in (
|
||||
# non-standard module library directories
|
||||
'test/integration/targets/module_precedence/lib_no_extension',
|
||||
'test/integration/targets/module_precedence/lib_with_extension',
|
||||
|
|
Loading…
Add table
Reference in a new issue