Add travis support for codebase linting
parent
4bb38c83ca
commit
2ba4976e51
|
@ -0,0 +1,2 @@
|
|||
db/static/js/lib/
|
||||
staticfiles/
|
|
@ -0,0 +1,9 @@
|
|||
language: python
|
||||
python:
|
||||
- "2.7"
|
||||
install:
|
||||
- pip install flake8
|
||||
- npm install -g jshint
|
||||
script:
|
||||
- flake8 .
|
||||
- jshint .
|
|
@ -1,4 +1,4 @@
|
|||
from base import *
|
||||
from base import * # flake8: noqa
|
||||
|
||||
ENVIRONMENT = 'dev'
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import os
|
||||
from base import *
|
||||
from base import * # flake8: noqa
|
||||
|
||||
ENVIRONMENT = 'production'
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import os
|
||||
from base import *
|
||||
from base import * # flake8: noqa
|
||||
|
||||
ENVIRONMENT = 'stage'
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
$(document).ready(function() {
|
||||
'use strict';
|
||||
|
||||
var items = new Array();
|
||||
var items = [];
|
||||
$('div.satellite-group-item').each(function(i, obj) {
|
||||
items.push(obj);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue