Move the module docstring above the imports and ignore a pylint warning about expect Exception.