Skip to content

Commit

Permalink
Run pylint -E
Browse files Browse the repository at this point in the history
  • Loading branch information
danvk committed Nov 24, 2014
1 parent 05367a1 commit e5d12c3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cycledash/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from flask import Flask
from flask.ext.sqlalchemy import SQLAlchemy
from flask_sqlalchemy import SQLAlchemy


def initialize_application():
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ voluptuous==0.8.5
wsgiref==0.1.2
dpxdt==0.1.5
psycopg2==2.5.4

pylint==1.4.0
8 changes: 7 additions & 1 deletion scripts/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,10 @@ find cycledash/static/js -name '*.js' \
| grep -v /dist/ | grep -v 'bundled' \
| xargs ./node_modules/.bin/jsxhint

echo 'Passes jsxhint lint check'
find . -name '*.py' \
| xargs pylint \
--errors-only \
--disable=print-statement \
--ignored-classes=SQLAlchemy,Run,Concordance,scoped_session,pysam

echo 'Passes jsxhint and pylint check'

0 comments on commit e5d12c3

Please sign in to comment.