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

Issue 29340727: Noissue - Added flake8 extension accounting for our coding style and some other stuff (Closed)

Created:
April 21, 2016, 6:51 p.m. by Sebastian Noack
Modified:
May 17, 2016, 11:01 a.m.
Reviewers:
Vasily Kuznetsov
Visibility:
Public.

Description

Noissue - Added flake8 extension accounting for our coding style and some other stuff

Patch Set 1 : #

Total comments: 1

Patch Set 2 : Added more checks #

Total comments: 29

Patch Set 3 : Added check for redundant paranthesis #

Patch Set 4 : Accounf for elif #

Patch Set 5 : Added more checks, tests, README and addressed comments #

Total comments: 25

Patch Set 6 : Added README #

Total comments: 3

Patch Set 7 : Addressed comments, fixed two bugs, use ascii() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1266 lines, -1 line) Patch
M .hgignore View 1 2 3 4 1 chunk +8 lines, -1 line 0 comments Download
A flake8-abp/README.md View 1 2 3 4 5 6 1 chunk +53 lines, -0 lines 0 comments Download
A flake8-abp/flake8_abp.py View 1 2 3 4 5 6 1 chunk +471 lines, -0 lines 0 comments Download
A flake8-abp/setup.py View 1 2 3 4 1 chunk +127 lines, -0 lines 0 comments Download
A flake8-abp/tests/A101.py View 1 2 3 4 1 chunk +17 lines, -0 lines 0 comments Download
A flake8-abp/tests/A102.py View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
A flake8-abp/tests/A103.py View 1 2 3 4 1 chunk +26 lines, -0 lines 0 comments Download
A flake8-abp/tests/A104.py View 1 2 3 4 1 chunk +15 lines, -0 lines 0 comments Download
A flake8-abp/tests/A105.py View 1 2 3 4 1 chunk +59 lines, -0 lines 0 comments Download
A flake8-abp/tests/A106.py View 1 2 3 4 1 chunk +49 lines, -0 lines 0 comments Download
A flake8-abp/tests/A107.py View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
A flake8-abp/tests/A108.py View 1 2 3 4 1 chunk +21 lines, -0 lines 0 comments Download
A flake8-abp/tests/A109.py View 1 2 3 4 1 chunk +22 lines, -0 lines 0 comments Download
A flake8-abp/tests/A110.py View 1 2 3 4 1 chunk +33 lines, -0 lines 0 comments Download
A flake8-abp/tests/A111.py View 1 2 3 4 1 chunk +27 lines, -0 lines 0 comments Download
A flake8-abp/tests/A201.py View 1 2 3 4 1 chunk +44 lines, -0 lines 0 comments Download
A flake8-abp/tests/A202.py View 1 2 3 4 1 chunk +41 lines, -0 lines 0 comments Download
A flake8-abp/tests/A203.py View 1 2 3 4 1 chunk +16 lines, -0 lines 0 comments Download
A flake8-abp/tests/A204.py View 1 2 3 4 1 chunk +67 lines, -0 lines 0 comments Download
A flake8-abp/tests/A204_module.py View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A flake8-abp/tests/A205.py View 1 2 3 4 1 chunk +30 lines, -0 lines 0 comments Download
A flake8-abp/tests/A206.py View 1 2 3 4 1 chunk +42 lines, -0 lines 0 comments Download
A flake8-abp/tests/A207.py View 1 2 3 4 1 chunk +34 lines, -0 lines 0 comments Download
A flake8-abp/tests/A301.py View 1 2 3 4 1 chunk +15 lines, -0 lines 0 comments Download
A flake8-abp/tests/A302.py View 1 2 3 4 5 6 1 chunk +23 lines, -0 lines 0 comments Download
A flake8-abp/tests/A303.py View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
A flake8-abp/tox.ini View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 12
Sebastian Noack
https://codereview.adblockplus.org/29340727/diff/29340731/flake8-abp/flake8_abp.py File flake8-abp/flake8_abp.py (right): https://codereview.adblockplus.org/29340727/diff/29340731/flake8-abp/flake8_abp.py#newcode21 flake8-abp/flake8_abp.py:21: __version__ = '0.1' It would be kinda cool if ...
April 21, 2016, 7:02 p.m. (2016-04-21 19:02:12 UTC) #1
Vasily Kuznetsov
Here are my comments on the version before the redundant parenthesis. I will look at ...
April 22, 2016, 2:48 p.m. (2016-04-22 14:48:27 UTC) #2
Vasily Kuznetsov
The if redundant parenthesis checker looks good. I tested it on some simple cases and ...
April 22, 2016, 3:50 p.m. (2016-04-22 15:50:04 UTC) #3
Sebastian Noack
https://codereview.adblockplus.org/29340727/diff/29340762/flake8-abp/flake8_abp.py File flake8-abp/flake8_abp.py (right): https://codereview.adblockplus.org/29340727/diff/29340762/flake8-abp/flake8_abp.py#newcode13 flake8-abp/flake8_abp.py:13: # You should have received a copy of the ...
May 7, 2016, 5:14 p.m. (2016-05-07 17:14:04 UTC) #4
Vasily Kuznetsov
See my comments below. It looks pretty good! I especially like the way the tests ...
May 9, 2016, 1:39 p.m. (2016-05-09 13:39:52 UTC) #5
Sebastian Noack
On 2016/05/09 13:39:52, Vasily Kuznetsov wrote: > I still think it would be good to ...
May 9, 2016, 1:45 p.m. (2016-05-09 13:45:30 UTC) #6
Vasily Kuznetsov
The README looks good. I would say that it doesn't have enough explanation to understand ...
May 9, 2016, 3:45 p.m. (2016-05-09 15:45:14 UTC) #7
Sebastian Noack
https://codereview.adblockplus.org/29340727/diff/29341006/flake8-abp/flake8_abp.py File flake8-abp/flake8_abp.py (right): https://codereview.adblockplus.org/29340727/diff/29341006/flake8-abp/flake8_abp.py#newcode36 flake8-abp/flake8_abp.py:36: ESSENTIAL_BUILTINS = set(dir(builtins)) - {'apply', 'basestring', 'buffer', On 2016/05/09 ...
May 9, 2016, 4:49 p.m. (2016-05-09 16:49:13 UTC) #8
Vasily Kuznetsov
https://codereview.adblockplus.org/29340727/diff/29341006/flake8-abp/flake8_abp.py File flake8-abp/flake8_abp.py (right): https://codereview.adblockplus.org/29340727/diff/29341006/flake8-abp/flake8_abp.py#newcode36 flake8-abp/flake8_abp.py:36: ESSENTIAL_BUILTINS = set(dir(builtins)) - {'apply', 'basestring', 'buffer', On 2016/05/09 ...
May 9, 2016, 5:37 p.m. (2016-05-09 17:37:33 UTC) #9
Sebastian Noack
https://codereview.adblockplus.org/29340727/diff/29341006/flake8-abp/flake8_abp.py File flake8-abp/flake8_abp.py (right): https://codereview.adblockplus.org/29340727/diff/29341006/flake8-abp/flake8_abp.py#newcode36 flake8-abp/flake8_abp.py:36: ESSENTIAL_BUILTINS = set(dir(builtins)) - {'apply', 'basestring', 'buffer', On 2016/05/09 ...
May 11, 2016, 10:50 a.m. (2016-05-11 10:50:10 UTC) #10
Vasily Kuznetsov
See my comments below. A bit off topic: it would be nice to have a ...
May 11, 2016, 2:09 p.m. (2016-05-11 14:09:18 UTC) #11
Vasily Kuznetsov
May 11, 2016, 3:22 p.m. (2016-05-11 15:22:24 UTC) #12
LGTM

Powered by Google App Engine
This is Rietveld