Flake8 Warnings
.\article\admin.py:2:29: E231 missing whitespace after ','
.\article\admin.py:2:44: E231 missing whitespace after ','
.\article\admin.py:7:33: W292 no newline at end of file
.\article\models.py:6:1: E302 expected 2 blank lines, found 1
.\article\models.py:7:46: E241 multiple spaces after ','
.\article\models.py:8:34: E231 missing whitespace after ','
.\article\models.py:19:46: E241 multiple spaces after ','
.\article\models.py:20:40: E231 missing whitespace after ','
.\article\models.py:21:34: E231 missing whitespace after ','
.\article\models.py:30:46: E241 multiple spaces after ','
.\article\models.py:31:34: E231 missing whitespace after ','
.\article\models.py:33:74: E231 missing whitespace after ','
.\article\serializers.py:7:1: F401 'users.serializers.UserSerializer' imported but unused
.\article\serializers.py:7:52: E203 whitespace before ','
.\article\serializers.py:11:1: E303 too many blank lines (3)
.\article\serializers.py:13:1: W293 blank line contains whitespace
.\article\serializers.py:23:1: E302 expected 2 blank lines, found 1
.\article\serializers.py:35:1: E302 expected 2 blank lines, found 1
.\article\serializers.py:41:1: W293 blank line contains whitespace
.\article\urls.py:5:12: E231 missing whitespace after ','
.\article\urls.py:5:27: E231 missing whitespace after ','
.\article\urls.py:6:19: E231 missing whitespace after ','
.\article\urls.py:6:39: E231 missing whitespace after ','
.\article\urls.py:7:17: E231 missing whitespace after ','
.\article\urls.py:7:34: E231 missing whitespace after ','
.\article\views.py:1:1: F401 'django.shortcuts.render' imported but unused
.\article\views.py:2:45: W291 trailing whitespace
.\article\views.py:6:28: E203 whitespace before ','
.\article\views.py:6:45: E203 whitespace before ','
.\article\views.py:7:43: E203 whitespace before ','
.\article\views.py:11:1: E302 expected 2 blank lines, found 1
.\article\views.py:17:5: F841 local variable 'e' is assigned to but never used
.\article\views.py:20:1: E302 expected 2 blank lines, found 1
.\article\views.py:22:24: E231 missing whitespace after ','
.\article\views.py:35:5: F841 local variable 'e' is assigned to but never used
.\article\views.py:38:1: E302 expected 2 blank lines, found 1
.\article\views.py:40:26: E231 missing whitespace after ','
.\article\views.py:48:5: F841 local variable 'e' is assigned to but never used
.\article\views.py:51:1: E302 expected 2 blank lines, found 1
.\article\views.py:55:14: E711 comparison to None should be 'if cond is None:'
.\article\views.py:57:66: E227 missing whitespace around bitwise or shift operator
.\article\views.py:60:5: F841 local variable 'result_page' is assigned to but never used
.\article\views.py:60:55: E231 missing whitespace after ','
.\article\views.py:67:31: E231 missing whitespace after ','
.\article\views.py:71:58: E231 missing whitespace after ','
.\article\views.py:75:5: F841 local variable 'e' is assigned to but never used
.\article\views.py:78:1: E302 expected 2 blank lines, found 1
.\article\views.py:80:33: E231 missing whitespace after ','
.\article\views.py:84:58: E231 missing whitespace after ','
.\article\views.py:89:5: F841 local variable 'e' is assigned to but never used
.\article\views.py:105:13: E123 closing bracket does not match indentation of opening bracket's line
.\article\views.py:107:54: E231 missing whitespace after ','
.\article\views.py:118:13: E123 closing bracket does not match indentation of opening bracket's line
.\article\views.py:123:1: E302 expected 2 blank lines, found 1
.\article\views.py:130:68: W291 trailing whitespace
.\article\views.py:137:74: E231 missing whitespace after ','
.\article\views.py:137:90: E231 missing whitespace after ','
.\article\views.py:137:100: E231 missing whitespace after ','
.\article\views.py:143:74: E231 missing whitespace after ','
.\article\views.py:143:84: E231 missing whitespace after ','
.\discussion\admin.py:2:32: E231 missing whitespace after ','
.\discussion\admin.py:2:50: E231 missing whitespace after ','
.\discussion\models.py:7:46: E241 multiple spaces after ','
.\discussion\models.py:8:34: E231 missing whitespace after ','
.\discussion\models.py:12:11: W291 trailing whitespace
.\discussion\models.py:20:46: E241 multiple spaces after ','
.\discussion\models.py:21:46: E231 missing whitespace after ','
.\discussion\models.py:22:34: E231 missing whitespace after ','
.\discussion\models.py:31:46: E241 multiple spaces after ','
.\discussion\models.py:32:34: E231 missing whitespace after ','
.\discussion\models.py:34:77: E231 missing whitespace after ','
.\discussion\serializers.py:11:1: E303 too many blank lines (3)
.\discussion\serializers.py:14:1: W293 blank line contains whitespace
.\discussion\serializers.py:27:1: E302 expected 2 blank lines, found 1
.\discussion\serializers.py:39:1: E302 expected 2 blank lines, found 1
.\discussion\serializers.py:45:1: W293 blank line contains whitespace
.\discussion\urls.py:5:12: E231 missing whitespace after ','
.\discussion\urls.py:5:30: E231 missing whitespace after ','
.\discussion\urls.py:6:19: E231 missing whitespace after ','
.\discussion\urls.py:6:42: E231 missing whitespace after ','
.\discussion\urls.py:7:17: E231 missing whitespace after ','
.\discussion\urls.py:7:34: E231 missing whitespace after ','
.\discussion\views.py:1:1: F401 'django.shortcuts.render' imported but unused
.\discussion\views.py:2:45: W291 trailing whitespace
.\discussion\views.py:6:50: E203 whitespace before ','
.\discussion\views.py:7:46: E203 whitespace before ','
.\discussion\views.py:9:1: F811 redefinition of unused 'api_view' from line 3
.\discussion\views.py:16:19: E225 missing whitespace around operator
.\discussion\views.py:19:5: F841 local variable 'e' is assigned to but never used
.\discussion\views.py:22:1: E302 expected 2 blank lines, found 1
.\discussion\views.py:24:27: E231 missing whitespace after ','
.\discussion\views.py:26:19: E225 missing whitespace around operator
.\discussion\views.py:38:5: F841 local variable 'e' is assigned to but never used
.\discussion\views.py:41:1: E302 expected 2 blank lines, found 1
.\discussion\views.py:43:29: E231 missing whitespace after ','
.\discussion\views.py:45:19: E225 missing whitespace around operator
.\discussion\views.py:51:5: F841 local variable 'e' is assigned to but never used
.\discussion\views.py:54:1: E302 expected 2 blank lines, found 1
.\discussion\views.py:57:14: E711 comparison to None should be 'if cond is None:'
.\discussion\views.py:60:72: E227 missing whitespace around bitwise or shift operator
.\discussion\views.py:63:5: F841 local variable 'result_page' is assigned to but never used
.\discussion\views.py:63:58: E231 missing whitespace after ','
.\discussion\views.py:70:34: E231 missing whitespace after ','
.\discussion\views.py:74:61: E231 missing whitespace after ','
.\discussion\views.py:78:5: F841 local variable 'e' is assigned to but never used
.\discussion\views.py:81:1: E302 expected 2 blank lines, found 1
.\discussion\views.py:83:36: E231 missing whitespace after ','
.\discussion\views.py:87:61: E231 missing whitespace after ','
.\discussion\views.py:92:5: F841 local variable 'e' is assigned to but never used
.\discussion\views.py:103:19: E225 missing whitespace around operator
.\discussion\views.py:108:13: E123 closing bracket does not match indentation of opening bracket's line
.\discussion\views.py:110:57: E231 missing whitespace after ','
.\discussion\views.py:117:19: E225 missing whitespace around operator
.\discussion\views.py:122:13: E123 closing bracket does not match indentation of opening bracket's line
.\discussion\views.py:127:1: E302 expected 2 blank lines, found 1
.\discussion\views.py:137:15: E225 missing whitespace around operator
.\discussion\views.py:141:83: E231 missing whitespace after ','
.\discussion\views.py:141:99: E231 missing whitespace after ','
.\discussion\views.py:141:109: E231 missing whitespace after ','
.\discussion\views.py:147:83: E231 missing whitespace after ','
.\discussion\views.py:147:93: E231 missing whitespace after ','
.\feed\models.py:6:1: E265 block comment should start with '# '
.\feed\models.py:8:13: E225 missing whitespace around operator
.\feed\models.py:9:5: E265 block comment should start with '# '
.\feed\models.py:12:5: E265 block comment should start with '# '
.\feed\models.py:20:46: E241 multiple spaces after ','
.\feed\models.py:28:9: E722 do not use bare 'except'
.\feed\models.py:39:9: E265 block comment should start with '# '
.\feed\models.py:43:1: W293 blank line contains whitespace
.\feed\models.py:45:1: E303 too many blank lines (3)
.\feed\models.py:46:1: W293 blank line contains whitespace
.\feed\models.py:50:9: E123 closing bracket does not match indentation of opening bracket's line
.\feed\models.py:55:46: E241 multiple spaces after ','
.\feed\models.py:58:38: E222 multiple spaces after operator
.\feed\models.py:58:55: E221 multiple spaces before operator
.\feed\models.py:58:87: W292 no newline at end of file
.\feed\serializers.py:2:1: F401 'django.contrib.auth.models.User' imported but unused
.\feed\serializers.py:24:5: E303 too many blank lines (2)
.\feed\serializers.py:26:21: E711 comparison to None should be 'if cond is not None:'
.\feed\signals.py:1:1: F401 'django.db.models.signals.pre_save' imported but unused
.\feed\signals.py:2:1: F401 'django.contrib.auth.models.User' imported but unused
.\feed\signals.py:3:1: F401 'users.models.UserProfile' imported but unused
.\feed\signals.py:7:1: E302 expected 2 blank lines, found 1
.\feed\signals.py:8:5: E265 block comment should start with '# '
.\feed\signals.py:19:5: E265 block comment should start with '# '
.\feed\signals.py:24:5: F841 local variable 'e' is assigned to but never used
.\feed\signals.py:30:5: F841 local variable 'e' is assigned to but never used
.\feed\signals.py:33:1: E305 expected 2 blank lines after class or function definition, found 1
.\feed\signals.py:40:1: W293 blank line contains whitespace
.\feed\signals.py:41:9: F841 local variable 'vote' is assigned to but never used
.\feed\signals.py:44:18: E222 multiple spaces after operator
.\feed\signals.py:45:20: E222 multiple spaces after operator
.\feed\signals.py:49:5: F841 local variable 'e' is assigned to but never used
.\feed\signals.py:54:1: E303 too many blank lines (3)
.\feed\signals.py:55:32: E241 multiple spaces after ','
.\feed\urls.py:7:6: E126 continuation line over-indented for hanging indent
.\feed\urls.py:14:2: W292 no newline at end of file
.\feed\utils.py:1:1: E265 block comment should start with '# '
.\feed\utils.py:11:1: E265 block comment should start with '# '
.\feed\utils.py:12:1: E302 expected 2 blank lines, found 1
.\feed\views.py:1:1: F401 'django.shortcuts.render' imported but unused
.\feed\views.py:2:45: W291 trailing whitespace
.\feed\views.py:19:14: E711 comparison to None should be 'if cond is None:'
.\feed\views.py:30:5: E265 block comment should start with '# '
.\feed\views.py:53:13: E123 closing bracket does not match indentation of opening bracket's line
.\feed\views.py:58:13: E123 closing bracket does not match indentation of opening bracket's line
.\feed\views.py:63:1: E302 expected 2 blank lines, found 1
.\feed\views.py:65:23: E231 missing whitespace after ','
.\feed\views.py:74:49: E231 missing whitespace after ','
.\feed\views.py:74:54: E251 unexpected spaces around keyword / parameter equals
.\feed\views.py:74:56: E251 unexpected spaces around keyword / parameter equals
.\feed\views.py:77:48: E231 missing whitespace after ','
.\feed\views.py:80:5: F841 local variable 'e' is assigned to but never used
.\feed\views.py:81:59: W291 trailing whitespace
.\feed\views.py:83:1: E302 expected 2 blank lines, found 1
.\feed\views.py:94:5: F841 local variable 'e' is assigned to but never used
.\feed\views.py:97:1: E302 expected 2 blank lines, found 1
.\feed\views.py:123:24: W291 trailing whitespace
.\feed\views.py:127:5: E265 block comment should start with '# '
.\feed\views.py:131:9: E265 block comment should start with '# '
.\feed\views.py:132:22: W291 trailing whitespace
.\feed\views.py:135:19: E225 missing whitespace around operator
.\feed\views.py:138:5: E265 block comment should start with '# '
.\mumblebackend\views.py:3:1: F401 'rest_framework.reverse.reverse_lazy' imported but unused
.\mumblebackend\views.py:24:7: W292 no newline at end of file
.\notification\models.py:15:46: E241 multiple spaces after ','
.\notification\models.py:16:37: E231 missing whitespace after ','
.\notification\models.py:18:40: E231 missing whitespace after ','
.\notification\serializers.py:8:1: W293 blank line contains whitespace
.\notification\signals.py:1:1: F401 'django.contrib.auth.models.User' imported but unused
.\notification\signals.py:2:1: F401 'django.db.models.signals.post_delete' imported but unused
.\notification\signals.py:2:1: F401 'django.db.models.signals.pre_save' imported but unused
.\notification\signals.py:7:1: F401 'users.models.UserProfile' imported but unused
.\notification\signals.py:13:19: E701 multiple statements on one line (colon)
.\notification\signals.py:16:9: F841 local variable 'notification' is assigned to but never used
.\notification\signals.py:26:19: E701 multiple statements on one line (colon)
.\notification\signals.py:29:9: F841 local variable 'notification' is assigned to but never used
.\notification\signals.py:39:1: E303 too many blank lines (3)
.\notification\signals.py:40:19: E701 multiple statements on one line (colon)
.\notification\signals.py:43:9: F841 local variable 'notification' is assigned to but never used
.\notification\signals.py:51:1: E305 expected 2 blank lines after class or function definition, found 1
.\notification\signals.py:53:56: W292 no newline at end of file
.\notification\urls.py:5:26: E231 missing whitespace after ','
.\notification\urls.py:5:49: E231 missing whitespace after ','
.\notification\views.py:1:1: F401 'django.db.models.Q' imported but unused
.\notification\views.py:2:1: F401 'django.shortcuts.render' imported but unused
.\notification\views.py:8:1: F401 'users.models.UserProfile' imported but unused
.\notification\views.py:18:21: E225 missing whitespace around operator
.\notification\views.py:26:5: F841 local variable 'e' is assigned to but never used
.\notification\views.py:34:16: E711 comparison to None should be 'if cond is None:'
.\users\models.py:16:5: E265 block comment should start with '# '
.\users\models.py:16:14: W291 trailing whitespace
.\users\models.py:17:5: E265 block comment should start with '# '
.\users\models.py:17:17: W291 trailing whitespace
.\users\models.py:20:46: E241 multiple spaces after ','
.\users\serializers.py:12:5: E301 expected 1 blank line, found 0
.\users\serializers.py:19:9: E722 do not use bare 'except'
.\users\serializers.py:29:1: E302 expected 2 blank lines, found 1
.\users\serializers.py:31:5: E301 expected 1 blank line, found 0
.\users\serializers.py:56:39: W292 no newline at end of file
.\users\signals.py:1:1: F401 'django.db.models.signals.pre_save' imported but unused
.\users\signals.py:1:1: F401 'django.db.models.signals.post_delete' imported but unused
.\users\signals.py:7:1: W191 indentation contains tabs
.\users\signals.py:8:1: W191 indentation contains tabs
.\users\signals.py:9:1: W191 indentation contains tabs
.\users\signals.py:10:1: W191 indentation contains tabs
.\users\signals.py:11:1: E101 indentation contains mixed spaces and tabs
.\users\signals.py:11:13: E122 continuation line missing indentation or outdented
.\users\signals.py:12:1: W191 indentation contains tabs
.\users\signals.py:12:4: E265 block comment should start with '# '
.\users\signals.py:13:1: W191 indentation contains tabs
.\users\signals.py:13:4: E123 closing bracket does not match indentation of opening bracket's line
.\users\signals.py:14:1: E101 indentation contains mixed spaces and tabs
.\users\signals.py:14:1: W293 blank line contains whitespace
.\users\signals.py:15:1: W191 indentation contains tabs
.\users\signals.py:19:1: E101 indentation contains mixed spaces and tabs
.\users\signals.py:20:1: E101 indentation contains mixed spaces and tabs
.\users\signals.py:20:16: E712 comparison to False should be 'if cond is False:' or 'if not cond:'
.\users\signals.py:21:1: E101 indentation contains mixed spaces and tabs
.\users\signals.py:21:1: W293 blank line contains whitespace
.\users\signals.py:22:1: E101 indentation contains mixed spaces and tabs
.\users\signals.py:24:1: E101 indentation contains mixed spaces and tabs
.\users\signals.py:24:9: E265 block comment should start with '# '
.\users\signals.py:25:1: E101 indentation contains mixed spaces and tabs
.\users\signals.py:26:1: E101 indentation contains mixed spaces and tabs
.\users\signals.py:28:1: E305 expected 2 blank lines after class or function definition, found 1
.\users\urls.py:7:5: E265 block comment should start with '# '
.\users\urls.py:14:87: W291 trailing whitespace
.\users\urls.py:22:28: E231 missing whitespace after ','
.\users\urls.py:22:49: E231 missing whitespace after ','
.\users\urls.py:26:39: E231 missing whitespace after ','
.\users\urls.py:26:65: E231 missing whitespace after ','
.\users\urls.py:27:36: E231 missing whitespace after ','
.\users\urls.py:28:2: W292 no newline at end of file
.\users\views.py:5:1: E265 block comment should start with '# '
.\users\views.py:10:1: F401 'django.shortcuts.render' imported but unused
.\users\views.py:26:1: F401 'notification.serializers.NotificationSerializer' imported but unused
.\users\views.py:30:25: E128 continuation line under-indented for visual indent
.\users\views.py:34:1: E302 expected 2 blank lines, found 1
.\users\views.py:48:1: E302 expected 2 blank lines, found 1
.\users\views.py:49:1: W293 blank line contains whitespace
.\users\views.py:79:5: E265 block comment should start with '# '
.\users\views.py:96:14: E711 comparison to None should be 'if cond is None:'
.\users\views.py:112:1: E302 expected 2 blank lines, found 1
.\users\views.py:118:1: E302 expected 2 blank lines, found 1
.\users\views.py:125:1: E302 expected 2 blank lines, found 1
.\users\views.py:132:1: E302 expected 2 blank lines, found 1
.\users\views.py:139:51: W291 trailing whitespace
.\users\views.py:141:1: W293 blank line contains whitespace
.\users\views.py:144:46: E222 multiple spaces after operator
.\users\views.py:165:5: E265 block comment should start with '# '
.\users\views.py:168:5: E303 too many blank lines (2)
.\users\views.py:174:1: W293 blank line contains whitespace
.\users\views.py:184:23: E225 missing whitespace around operator
.\users\views.py:185:21: E225 missing whitespace around operator
.\users\views.py:186:17: E225 missing whitespace around operator
.\users\views.py:189:1: W293 blank line contains whitespace
.\users\views.py:190:20: E225 missing whitespace around operator
.\users\views.py:191:25: E225 missing whitespace around operator
.\users\views.py:192:19: E225 missing whitespace around operator
.\users\views.py:195:40: E225 missing whitespace around operator
.\users\views.py:196:17: E225 missing whitespace around operator
.\users\views.py:197:21: E225 missing whitespace around operator
.\users\views.py:198:25: E127 continuation line over-indented for visual indent
.\users\views.py:200:21: E225 missing whitespace around operator
.\users\views.py:205:72: W291 trailing whitespace
.\users\views.py:208:1: E302 expected 2 blank lines, found 1
.\users\views.py:225:49: E231 missing whitespace after ','
.\users\views.py:226:5: F841 local variable 'e' is assigned to but never used
.\users\views.py:227:66: E231 missing whitespace after ','
.\users\views.py:243:66: E231 missing whitespace after ','
.\users\views.py:245:1: E302 expected 2 blank lines, found 1
.\users\views.py:256:38: E231 missing whitespace after ':'
.\users\views.py:256:71: E231 missing whitespace after ','
.\users\views.py:258:38: E231 missing whitespace after ':'
.\users\views.py:260:34: E231 missing whitespace after ':'
.\users\views.py:262:34: E231 missing whitespace after ':'