#!/usr/bin/python3

import sys

if not sys.version_info >= (3, 5):
    sys.stderr.write("Pegasus requires Python 3.5 or above\n")
    sys.exit(1)

try:
    pass
except:
    sys.stderr.write("Pegasus requires the Python3 YAML module to be installed\n")
    sys.exit(1)

#!/usr/bin/python3

import sys

if not sys.version_info >= (3, 5):
    sys.stderr.write("Pegasus requires Python 3.5 or above\n")
    sys.exit(1)

try:
    import yaml  # noqa
except:
    sys.stderr.write("Pegasus requires the Python3 YAML module to be installed\n")
    sys.exit(1)

Add noqa comment so unused import does not get removed by code lint steps
Add noqa comment so unused import does not get removed by code lint steps
