Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 29341320: Noissue - Added flake8-abp and pep8-naming extension and fix reported warnings (Closed)

Created:
May 12, 2016, 2:44 p.m. by Sebastian Noack
Modified:
May 27, 2016, 1:37 p.m.
Reviewers:
Vasily Kuznetsov
Visibility:
Public.

Description

Noissue - Added flake8-abp and pep8-naming extension and fix reported warnings

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixed some broken string literals in Python 2 #

Total comments: 2

Patch Set 3 : Revert changes of patch set 2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -26 lines) Patch
M abp/filters/parser.py View 1 chunk +3 lines, -3 lines 0 comments Download
M abp/filters/render_script.py View 2 chunks +2 lines, -2 lines 0 comments Download
M abp/filters/renderer.py View 4 chunks +6 lines, -6 lines 0 comments Download
M abp/filters/sources.py View 3 chunks +7 lines, -9 lines 0 comments Download
M setup.py View 2 chunks +2 lines, -2 lines 0 comments Download
M tests/test_render_script.py View 2 1 chunk +2 lines, -2 lines 0 comments Download
M tests/test_renderer.py View 1 chunk +1 line, -1 line 0 comments Download
M tox.ini View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 5
Sebastian Noack
https://codereview.adblockplus.org/29341320/diff/29341321/abp/filters/render_script.py File abp/filters/render_script.py (left): https://codereview.adblockplus.org/29341320/diff/29341321/abp/filters/render_script.py#oldcode60 abp/filters/render_script.py:60: out_fp.write(line.to_string() + '\n') This will fail now if line.to_string() ...
May 12, 2016, 2:47 p.m. (2016-05-12 14:47:24 UTC) #1
Vasily Kuznetsov
LGTM https://codereview.adblockplus.org/29341320/diff/29341321/abp/filters/render_script.py File abp/filters/render_script.py (left): https://codereview.adblockplus.org/29341320/diff/29341321/abp/filters/render_script.py#oldcode60 abp/filters/render_script.py:60: out_fp.write(line.to_string() + '\n') On 2016/05/12 14:47:24, Sebastian Noack ...
May 12, 2016, 3:22 p.m. (2016-05-12 15:22:23 UTC) #2
Sebastian Noack
https://codereview.adblockplus.org/29341320/diff/29341335/tests/test_render_script.py File tests/test_render_script.py (right): https://codereview.adblockplus.org/29341320/diff/29341335/tests/test_render_script.py#newcode46 tests/test_render_script.py:46: u'[Adblock]\n\u1234'.encode('utf-8'), mode='wb') Since, for whatever reason, the qa env ...
May 12, 2016, 3:31 p.m. (2016-05-12 15:31:03 UTC) #3
Sebastian Noack
https://codereview.adblockplus.org/29341320/diff/29341335/tests/test_render_script.py File tests/test_render_script.py (right): https://codereview.adblockplus.org/29341320/diff/29341335/tests/test_render_script.py#newcode46 tests/test_render_script.py:46: u'[Adblock]\n\u1234'.encode('utf-8'), mode='wb') On 2016/05/12 15:31:03, Sebastian Noack wrote: > ...
May 27, 2016, 12:54 p.m. (2016-05-27 12:54:55 UTC) #4
Vasily Kuznetsov
May 27, 2016, 1:22 p.m. (2016-05-27 13:22:49 UTC) #5
LGTM

Powered by Google App Engine
This is Rietveld