Multiple spaces after operator (E222)
There should be only one space after an operator.
Anti-pattern
# There are two spaces after the multiplication operator
num = 10
doubled = num * 2
Best practice
num = 10
doubled = num * 2
There should be only one space after an operator.
# There are two spaces after the multiplication operator
num = 10
doubled = num * 2
num = 10
doubled = num * 2