Created
January 28, 2017 11:07
-
-
Save csaez/76f4ab9205cef70daf8d1fd070031bc7 to your computer and use it in GitHub Desktop.
Flake 8 command
This file contains hidden or 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
#!/home/csaez/.nvim/py2/bin/python2 | |
# -*- coding: utf-8 -*- | |
import re | |
import sys | |
from flake8.main.cli import main | |
if __name__ == '__main__': | |
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) | |
sys.exit(main()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment