pylint and cleanup of anomaly likelihood tests