Browse Source

# noqa: E999 # pylint: disable=mixed-indentation

pull/28/head
cclauss 4 years ago
committed by GitHub
parent
commit
68c675bb8e
  1. 6
      mixed_tabs_and_spaces.py

6
mixed_tabs_and_spaces.py

@ -1,7 +1,7 @@
def square(x):
sum_so_far = 0
for counter in range(x):
sum_so_far = sum_so_far + x
return sum_so_far # noqa: E999 # pylint: disable=bad-indentation Python 3 will raise a TabError here
for _ in range(x):
sum_so_far += x
return sum_so_far # noqa: E999 # pylint: disable=mixed-indentation Python 3 will raise a TabError here
print(square(10))
Loading…
Cancel
Save