lint: Fix some PEP-8 lint errors.

This commit is contained in:
Tim Abbott 2017-01-19 16:42:42 -08:00
parent 42612161df
commit 1a536f381c
2 changed files with 4 additions and 4 deletions

View File

@ -348,7 +348,7 @@ def build_custom_checkers(by_lang):
{'pattern': '[^r][M]essage.objects.get',
'exclude': set(["zerver/tests", "zerver/worker/queue_processors.py"]),
'description': 'Please use access_message() to fetch Message objects',
},
},
# This rule might give false positives in virtualenv setup files which should be excluded,
# and comments which should be rewritten to avoid use of "python2", "python3", etc.
{'pattern': 'python[23]',

View File

@ -744,11 +744,11 @@ JS_SPECS = {
'output_filename': 'min/signup.js'
},
'api': {
'source_filenames': ['js/portico/api.js',],
'source_filenames': ['js/portico/api.js'],
'output_filename': 'min/api.js'
},
'app_debug': {
'source_filenames': ['js/debug.js',],
'source_filenames': ['js/debug.js'],
'output_filename': 'min/app_debug.js'
},
'app': {
@ -868,7 +868,7 @@ JS_SPECS = {
},
# We also want to minify sockjs separately for the sockjs iframe transport
'sockjs': {
'source_filenames': ['third/sockjs/sockjs-0.3.4.js',],
'source_filenames': ['third/sockjs/sockjs-0.3.4.js'],
'output_filename': 'min/sockjs-0.3.4.min.js'
},
}