##### SUMMARY
script contains call to Display.deprecated or AnsibleModule.deprecate and is scheduled for removal

```
lib/ansible/plugins/inventory/script.py:97:12: ansible-deprecated-version: Deprecated version ('2.12') found in call to Display.deprecated or AnsibleModule.deprecate (0%)
```

##### ISSUE TYPE
 - Bug Report

##### COMPONENT NAME
```
lib/ansible/plugins/inventory/script.py
```

##### ANSIBLE VERSION
```
2.12
```

##### CONFIGURATION
N/A

##### OS / ENVIRONMENT
N/A

##### STEPS TO REPRODUCE
N/A

##### EXPECTED RESULTS
N/A

##### ACTUAL RESULTS
N/A

''' Host inventory parser for ansible using external inventory scripts. '''
    NAME = 'script'
    def __init__(self):
        super(InventoryModule, self).__init__()
        self._hosts = set()
    def verify_file(self, path):
        ''' Verify if file is usable by this plugin, base does minimal accessibility check '''
        valid = super(InventoryModule, self).verify_file(path)
        if valid:
            
            shebang_present = False
            try:
                with open(path, 'rb') as inv_file:
                    initial_chars = inv_file.read(2)
                    if initial_chars.startswith(b'#!'):
                        shebang_present = True
            except Exception:
                pass
            if not os.access(path, os.X_OK) and not shebang_present:
                valid = False
        return valid
    def parse(self, inventory, loader, path, cache=None):