Fix linting

This commit is contained in:
Jake Howard 2016-02-09 21:54:21 +00:00
parent a4572e8b9c
commit 3e5ea9f8e5
2 changed files with 4 additions and 2 deletions

View file

@ -1,12 +1,14 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
import json, os, shutil import json, os, shutil
DIR = os.getcwd() DIR = os.getcwd()
def _get_json(path): def _get_json(path):
return json.load(open(DIR + path)) return json.load(open(DIR + path))
def update(): def update():
os.system('apt-get update -y') os.system('apt-get update -y')

View file

@ -14,5 +14,5 @@ jsonlint -q atom/packages.json
echo ">> Validating Python..." echo ">> Validating Python..."
pip install flake8 pip install flake8
flake8 scripts/install_dotfiles.py --ignore=E128,E501 flake8 scripts/install_dotfiles.py --ignore=E128,E501,E401
flake8 INSTALL_ALL_THE_THINGS --ignore=E128,E501 flake8 INSTALL_ALL_THE_THINGS --ignore=E128,E501,E401