1
0
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:
cclauss 2017-09-04 14:56:27 +02:00 committed by GitHub
parent 39480cc579
commit a6ce6259fa

View File

@ -2,6 +2,6 @@ def square(x):
sum_so_far = 0
for counter in range(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))