Created
March 6, 2017 13:05
-
-
Save wjt/2d169a2ee3ecc41e227b36b38f989f2b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'''TIL: pyflakes and flake8 disagree on a common question of indentation.''' | |
def add(left, | |
right, | |
): | |
'''flake8 doesn't like this style: | |
duellinglinters.py:6:8: E124 closing bracket does not match visual indentation | |
''' | |
return left + right | |
def mul(left, | |
right, | |
): | |
'''pylint doesn't like this style: | |
C: 15, 0: Wrong continued indentation (remove 1 space). | |
): | |
|^ (bad-continuation) | |
''' | |
return left * right |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment