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

Issue 29670676: Issue 5844 - Remove redundant parentheses in buildtools (Closed)

Created:
Jan. 16, 2018, 11:43 p.m. by rosie
Modified:
Jan. 26, 2018, 2:44 a.m.
CC:
tlucas
Base URL:
https://hg.adblockplus.org/buildtools/
Visibility:
Public.

Description

Remove redundant parentheses flagged by the new flake8 rule. I tested each modification against the original using pydiff, and the resulting bytecode is identical.

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixed indentation and (previously ignored) A111 error in packagerChrome.py #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -13 lines) Patch
M build.py View 1 2 chunks +8 lines, -8 lines 0 comments Download
M ensure_dependencies.py View 2 chunks +2 lines, -2 lines 0 comments Download
M localeTools.py View 1 chunk +1 line, -1 line 0 comments Download
M packagerChrome.py View 1 1 chunk +1 line, -1 line 0 comments Download
M tox.ini View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6
rosie
Jan. 16, 2018, 11:43 p.m. (2018-01-16 23:43:53 UTC) #1
Sebastian Noack
https://codereview.adblockplus.org/29670676/diff/29670677/build.py File build.py (right): https://codereview.adblockplus.org/29670676/diff/29670677/build.py#newcode131 build.py:131: 'be retrieved from Mercurial)'), The indentation is off by ...
Jan. 17, 2018, 12:44 a.m. (2018-01-17 00:44:54 UTC) #2
Sebastian Noack
Also there is one more A111 in packagerChrome.py, line 57, which is currently ignored in ...
Jan. 17, 2018, 1:14 a.m. (2018-01-17 01:14:58 UTC) #3
rosie
Hi Sebastian, I fixed the indentation in build.py, the A111 error in packagerChrome.py, and the ...
Jan. 25, 2018, 7:22 p.m. (2018-01-25 19:22:20 UTC) #4
Sebastian Noack
Thanks, LGTM!
Jan. 25, 2018, 7:29 p.m. (2018-01-25 19:29:11 UTC) #5
Vasily Kuznetsov
Jan. 25, 2018, 7:41 p.m. (2018-01-25 19:41:51 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld