Change indentation of dict comprehension
Fix warnings reported by flake8