Fix linting errors in sqs.py