Fix linting
This commit is contained in:
parent
a4572e8b9c
commit
3e5ea9f8e5
2 changed files with 4 additions and 2 deletions
|
@ -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')
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue