1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/sanity/code-smell
Matt Clay 0d46805979 Clean up shebangs for various files.
- Remove shebangs from:
  - ini files
  - unit tests
  - module_utils
  - plugins
  - module_docs_fragments
  - non-executable Makefiles
- Change non-modules from '/usr/bin/python' to '/usr/bin/env python'.
- Change '/bin/env' to '/usr/bin/env'.

Also removed main functions from unit tests (since they no longer
have a shebang) and fixed a python 3 compatibility issue with
update_bundled.py so it does not need to specify a python 2 shebang.

A script was added to check for unexpected shebangs in files.
This script is run during CI on Shippable.
2016-11-02 17:00:27 -07:00
..
boilerplate.sh Test reorganization and cleanup. (#18270) 2016-10-31 12:53:11 -07:00
inappropriately-private.sh Test reorganization and cleanup. (#18270) 2016-10-31 12:53:11 -07:00
no-basestring.sh Test reorganization and cleanup. (#18270) 2016-10-31 12:53:11 -07:00
replace-urlopen.sh Test reorganization and cleanup. (#18270) 2016-10-31 12:53:11 -07:00
required-and-default-attributes.sh Test reorganization and cleanup. (#18270) 2016-10-31 12:53:11 -07:00
shebang.sh Clean up shebangs for various files. 2016-11-02 17:00:27 -07:00
use-compat-six.sh Test reorganization and cleanup. (#18270) 2016-10-31 12:53:11 -07:00