Browse Source

lint and removal of unsued files

David Cramer 12 years ago
parent
commit
c874d290fe

+ 7 - 1
.jshintignore

@@ -1,4 +1,10 @@
 tests/
 tests/
 src/sentry/static/sentry/bootstrap/
 src/sentry/static/sentry/bootstrap/
 src/sentry/static/sentry/scripts/lib/
 src/sentry/static/sentry/scripts/lib/
-src/sentry/static/CACHE/
+src/sentry/static/CACHE/
+src/sentry/static/sentry/scripts/legacy.min.js
+src/sentry/static/sentry/scripts/legacy.map.js
+src/sentry/static/sentry/scripts/global.min.js
+src/sentry/static/sentry/scripts/global.map.js
+src/sentry/static/sentry/scripts/lib.min.js
+src/sentry/static/sentry/scripts/lib.map.js

+ 1 - 1
Makefile

@@ -52,7 +52,7 @@ lint: lint-python lint-js
 
 
 lint-python:
 lint-python:
 	@echo "Linting Python files"
 	@echo "Linting Python files"
-	flake8 --exclude=migrations --ignore=E501,E225,E121,E123,E124,E125,E127,E128 src/sentry
+	flake8 --exclude=migrations,src/sentry/static/CACHE/* --ignore=E501,E225,E121,E123,E124,E125,E127,E128 src/sentry
 	@echo ""
 	@echo ""
 
 
 lint-js:
 lint-js:

+ 1 - 1
setup.py

@@ -35,7 +35,7 @@ for m in ('multiprocessing', 'billiard'):
         pass
         pass
 
 
 dev_requires = [
 dev_requires = [
-    'flake8>=1.6',
+    'flake8>=1.7.0',
 ]
 ]
 
 
 tests_require = [
 tests_require = [

+ 1 - 0
src/sentry/models.py

@@ -126,6 +126,7 @@ class Team(Model):
     def __unicode__(self):
     def __unicode__(self):
         return u'%s' % self.name
         return u'%s' % self.name
 
 
+
 class TeamMember(Model):
 class TeamMember(Model):
     """
     """
     Identifies relationships between teams and users.
     Identifies relationships between teams and users.

File diff suppressed because it is too large
+ 0 - 0
src/sentry/static/sentry/scripts/global.min.map.js


File diff suppressed because it is too large
+ 0 - 0
src/sentry/static/sentry/scripts/legacy.min.map.js


File diff suppressed because it is too large
+ 0 - 0
src/sentry/static/sentry/scripts/lib.min.map.js


+ 1 - 2
src/sentry/web/frontend/generic.py

@@ -5,8 +5,7 @@ sentry.web.frontend.generic
 :copyright: (c) 2010-2012 by the Sentry Team, see AUTHORS for more details.
 :copyright: (c) 2010-2012 by the Sentry Team, see AUTHORS for more details.
 :license: BSD, see LICENSE for more details.
 :license: BSD, see LICENSE for more details.
 """
 """
-from django.http import HttpResponseRedirect, Http404, HttpResponseNotModified, \
-  HttpResponse
+from django.http import HttpResponseRedirect
 from django.contrib.staticfiles import finders
 from django.contrib.staticfiles import finders
 from django.core.urlresolvers import reverse
 from django.core.urlresolvers import reverse
 from django.utils.datastructures import SortedDict
 from django.utils.datastructures import SortedDict

Some files were not shown because too many files changed in this diff