pep8 warn about 8-space indent

Viewed 7340

This bit of code:

def foo():
        print("hello")

violates PEP 0008, which states

Use 4 spaces per indentation level.

But neither the pep8, pyflakes, or flake8 commands warn about it.

How can I get one of them to complain about this unpythonic code?

1 Answers
Related