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

Issue 29565854: Noissue - Improved accuracy of evaluated expressions for A103 and A207 (Closed)

Created:
Oct. 5, 2017, 9:41 p.m. by Sebastian Noack
Modified:
Oct. 11, 2017, 7:50 p.m.
Reviewers:
Vasily Kuznetsov
CC:
tlucas
Visibility:
Public.

Description

Noissue - Improved accuracy of evaluated expressions for A103 and A207

Patch Set 1 #

Total comments: 5

Patch Set 2 : Rebased #

Patch Set 3 : Changed behavior of A207 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -4 lines) Patch
M flake8-eyeo/flake8_eyeo.py View 1 2 2 chunks +6 lines, -4 lines 1 comment Download
M flake8-eyeo/tests/A103.py View 1 chunk +4 lines, -0 lines 0 comments Download
M flake8-eyeo/tests/A207.py View 1 2 4 chunks +13 lines, -0 lines 0 comments Download

Messages

Total messages: 9
Sebastian Noack
https://codereview.adblockplus.org/29565854/diff/29565855/flake8-eyeo/tests/A103.py File flake8-eyeo/tests/A103.py (right): https://codereview.adblockplus.org/29565854/diff/29565855/flake8-eyeo/tests/A103.py#newcode30 flake8-eyeo/tests/A103.py:30: return dir == x This was causing an A103 ...
Oct. 5, 2017, 10:07 p.m. (2017-10-05 22:07:12 UTC) #1
Vasily Kuznetsov
Hi Sebastian, I'm not completely convinced about this change, at least not yet. It seems ...
Oct. 6, 2017, 10:46 a.m. (2017-10-06 10:46:21 UTC) #2
tlucas
Hey Sebastian, Please find my comment below. Naive as i am, shouldn't a change to ...
Oct. 6, 2017, 11:41 a.m. (2017-10-06 11:41:36 UTC) #3
Sebastian Noack
https://codereview.adblockplus.org/29565854/diff/29565855/flake8-eyeo/flake8_eyeo.py File flake8-eyeo/flake8_eyeo.py (right): https://codereview.adblockplus.org/29565854/diff/29565855/flake8-eyeo/flake8_eyeo.py#newcode50 flake8-eyeo/flake8_eyeo.py:50: names = {'__builtins__': {'True': True, 'False': False, 'None': None}} ...
Oct. 6, 2017, 6:11 p.m. (2017-10-06 18:11:10 UTC) #4
Vasily Kuznetsov
On 2017/10/06 18:11:10, Sebastian Noack wrote: > https://codereview.adblockplus.org/29565854/diff/29565855/flake8-eyeo/flake8_eyeo.py > File flake8-eyeo/flake8_eyeo.py (right): > > https://codereview.adblockplus.org/29565854/diff/29565855/flake8-eyeo/flake8_eyeo.py#newcode50 ...
Oct. 9, 2017, 8:14 p.m. (2017-10-09 20:14:22 UTC) #5
Sebastian Noack
On 2017/10/09 20:14:22, Vasily Kuznetsov wrote: > I agree that generating two errors for cases ...
Oct. 11, 2017, 2:52 a.m. (2017-10-11 02:52:48 UTC) #6
Vasily Kuznetsov
On 2017/10/11 02:52:48, Sebastian Noack wrote: > On 2017/10/09 20:14:22, Vasily Kuznetsov wrote: > > ...
Oct. 11, 2017, 4:13 p.m. (2017-10-11 16:13:09 UTC) #7
Sebastian Noack
On 2017/10/11 16:13:09, Vasily Kuznetsov wrote: > On 2017/10/11 02:52:48, Sebastian Noack wrote: > > ...
Oct. 11, 2017, 6:31 p.m. (2017-10-11 18:31:01 UTC) #8
Vasily Kuznetsov
Oct. 11, 2017, 7:29 p.m. (2017-10-11 19:29:03 UTC) #9
Allright, I think we can agree on this compromise :D
LGTM

https://codereview.adblockplus.org/29565854/diff/29573863/flake8-eyeo/flake8_...
File flake8-eyeo/flake8_eyeo.py (right):

https://codereview.adblockplus.org/29565854/diff/29573863/flake8-eyeo/flake8_...
flake8-eyeo/flake8_eyeo.py:339: namespace = collections.defaultdict(object,
vars(builtins))
This is clever!

Powered by Google App Engine
This is Rietveld