From 3e5ea9f8e5a935147cf6764b28280f565c88393b Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Tue, 9 Feb 2016 21:54:21 +0000 Subject: [PATCH] Fix linting --- scripts/install_dotfiles.py | 2 ++ scripts/runtests.sh | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/install_dotfiles.py b/scripts/install_dotfiles.py index 030b845..1dbf417 100644 --- a/scripts/install_dotfiles.py +++ b/scripts/install_dotfiles.py @@ -1,12 +1,14 @@ #!/usr/bin/env python3 import json, os, shutil + DIR = os.getcwd() def _get_json(path): return json.load(open(DIR + path)) + def update(): os.system('apt-get update -y') diff --git a/scripts/runtests.sh b/scripts/runtests.sh index 0ab12f7..edc20ee 100755 --- a/scripts/runtests.sh +++ b/scripts/runtests.sh @@ -14,5 +14,5 @@ jsonlint -q atom/packages.json echo ">> Validating Python..." pip install flake8 -flake8 scripts/install_dotfiles.py --ignore=E128,E501 -flake8 INSTALL_ALL_THE_THINGS --ignore=E128,E501 +flake8 scripts/install_dotfiles.py --ignore=E128,E501,E401 +flake8 INSTALL_ALL_THE_THINGS --ignore=E128,E501,E401