mirror of
https://github.com/satwikkansal/wtfpython
synced 2024-11-22 11:04:25 +01:00
Mark TabError as noqa to silence linters on Python 3
This commit is contained in:
parent
39480cc579
commit
a6ce6259fa
@ -2,6 +2,6 @@ def square(x):
|
|||||||
sum_so_far = 0
|
sum_so_far = 0
|
||||||
for counter in range(x):
|
for counter in range(x):
|
||||||
sum_so_far = sum_so_far + x
|
sum_so_far = sum_so_far + x
|
||||||
return sum_so_far
|
return sum_so_far # noqa Python 3 will raise a TabError here
|
||||||
|
|
||||||
print(square(10))
|
print(square(10))
|
||||||
|
Loading…
Reference in New Issue
Block a user