Fix formatting errors in webapi module according to PEP8
Review Request #6640 — Created Nov. 24, 2014 and submitted
Fixed the following format errors:
webapi/resources/validate_diff.py:104:22: E201 whitespace after '('
webapi/resources/validate_diff.py:105:22: E128 continuation line under-indented for visual indent
webapi/resources/validate_diff.py:105:25: E201 whitespace after '('
webapi/resources/validate_diff.py:106:25: E128 continuation line under-indented for visual indent
webapi/resources/validate_diff.py:107:25: E128 continuation line under-indented for visual indent
webapi/tests/mixins.py:572:1: E303 too many blank lines (3)
webapi/tests/mixins.py:859:1: E303 too many blank lines (3)
webapi/tests/test_review_request_draft.py:61:5: E303 too many blank lines (2)
Ran unit tests, and pep8.
Description | From | Last Updated |
---|---|---|
This form is harder to read. I'd ignore the pep8 tool here. Something important to note is that the pep8 … |
chipx86 | |
Revert these. It's not readable anymore. Same with all below like this. |
chipx86 | |
This is harder to read. Should be reverted to how it was. |
chipx86 | |
Same. |
chipx86 |
- Summary:
-
[WIP] Fix formatting errors in webapi module according to PEP8Fix formatting errors in webapi module according to PEP8
- Description:
-
Fixed the following format errors:
- webapi/resources/repository.py:123:61: E251 unexpected spaces around keyword / parameter equals - webapi/resources/review_reply_file_attachment_comment.py:54:18: E251 unexpected spaces around keyword / parameter equals - webapi/resources/review_reply_file_attachment_comment.py:55:13: E131 continuation line unaligned for hanging indent - webapi/resources/review_reply_file_attachment_comment.py:56:18: E251 unexpected spaces around keyword / parameter equals - webapi/resources/review_reply_file_attachment_comment.py:57:13: E131 continuation line unaligned for hanging indent - webapi/resources/review_reply_file_attachment_comment.py:123:18: E251 unexpected spaces around keyword / parameter equals - webapi/resources/review_reply_file_attachment_comment.py:124:13: E131 continuation line unaligned for hanging indent webapi/resources/validate_diff.py:104:22: E201 whitespace after '(' webapi/resources/validate_diff.py:105:22: E128 continuation line under-indented for visual indent webapi/resources/validate_diff.py:105:25: E201 whitespace after '(' webapi/resources/validate_diff.py:106:25: E128 continuation line under-indented for visual indent webapi/resources/validate_diff.py:107:25: E128 continuation line under-indented for visual indent webapi/tests/mixins.py:572:1: E303 too many blank lines (3) webapi/tests/mixins.py:859:1: E303 too many blank lines (3) ~ webapi/tests/test_file_attachment.py:94:17: E126 continuation line over-indented for hanging indent ~ webapi/tests/test_review_request_draft.py:61:5: E303 too many blank lines (2) - webapi/tests/test_file_attachment.py:285:17: E126 continuation line over-indented for hanging indent - webapi/tests/test_file_attachment_draft.py:176:17: E126 continuation line over-indented for hanging indent - webapi/tests/test_repository.py:358:17: E126 continuation line over-indented for hanging indent - webapi/tests/test_repository_branches.py:58:17: E126 continuation line over-indented for hanging indent - webapi/tests/test_review.py:116:17: E126 continuation line over-indented for hanging indent - webapi/tests/test_review.py:240:17: E126 continuation line over-indented for hanging indent - webapi/tests/test_review_comment.py:190:17: E126 continuation line over-indented for hanging indent - webapi/tests/test_review_comment.py:389:17: E126 continuation line over-indented for hanging indent - webapi/tests/test_review_group.py:266:17: E126 continuation line over-indented for hanging indent - webapi/tests/test_review_reply.py:251:17: E126 continuation line over-indented for hanging indent - webapi/tests/test_review_reply_diff_comment.py:108:17: E126 continuation line over-indented for hanging indent - webapi/tests/test_review_reply_screenshot_comment.py17: E126 continuation line over-indented for hanging indent - webapi/tests/test_review_request.py:1263:17: E126 continuation line over-indented for hanging indent - webapi/tests/test_review_request_draft.py:61:5: E303 too many blank lines (2) - webapi/tests/test_review_request_draft.py:169:17: E126 continuation line over-indented for hanging indent - webapi/tests/test_review_request_draft.py:194:17: E126 continuation line over-indented for hanging indent - webapi/tests/test_review_screenshot_comment.py:127:17: E126 continuation line over-indented for hanging indent - webapi/tests/test_review_screenshot_comment.py:255:17: E126 continuation line over-indented for hanging indent - webapi/tests/test_screenshot.py:184:17: E126 continuation line over-indented for hanging indent - webapi/tests/test_screenshot_draft.py:70:17: E126 continuation line over-indented for hanging indent - - TODO:
- Find a good way to fix continuation line over-indented for hanging indent errors - Commit:
-
573ff94ac588054a4b65c5d821418c658a9d865455abae0f437b8599684f8ce0b4bdc5ae2f4885c7
-
Tool: Pyflakes Processed Files: reviewboard/webapi/resources/validate_diff.py reviewboard/webapi/tests/mixins.py reviewboard/webapi/resources/repository.py reviewboard/webapi/resources/review_reply_file_attachment_comment.py reviewboard/webapi/tests/test_review_request_draft.py Tool: PEP8 Style Checker Processed Files: reviewboard/webapi/resources/validate_diff.py reviewboard/webapi/tests/mixins.py reviewboard/webapi/resources/repository.py reviewboard/webapi/resources/review_reply_file_attachment_comment.py reviewboard/webapi/tests/test_review_request_draft.py
-
Tool: Pyflakes Processed Files: reviewboard/webapi/resources/validate_diff.py reviewboard/webapi/tests/mixins.py reviewboard/webapi/resources/review_reply_file_attachment_comment.py reviewboard/webapi/tests/test_review_request_draft.py Tool: PEP8 Style Checker Processed Files: reviewboard/webapi/resources/validate_diff.py reviewboard/webapi/tests/mixins.py reviewboard/webapi/resources/review_reply_file_attachment_comment.py reviewboard/webapi/tests/test_review_request_draft.py
-
Tool: Pyflakes Processed Files: reviewboard/webapi/resources/validate_diff.py reviewboard/webapi/tests/mixins.py reviewboard/webapi/tests/test_review_request_draft.py Tool: PEP8 Style Checker Processed Files: reviewboard/webapi/resources/validate_diff.py reviewboard/webapi/tests/mixins.py reviewboard/webapi/tests/test_review_request_draft.py