Michael Brown has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/11102 )

Change subject: IMPALA-7317: loosen flake8 rules
......................................................................


Patch Set 1:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/11102/1/setup.cfg
File setup.cfg:

http://gerrit.cloudera.org:8080/#/c/11102/1/setup.cfg@23
PS1, Line 23: ignore = E111,E114,E121,E128,E701
> I'm getting issues with E125 also with code like this:
The correct formatting for the above is this:

  def long_function_name_so_i_need_to_wrap_params(
      long, parameter, list
  ):
    pass

Also acceptable:

  def long_function_name_so_i_need_to_wrap_params2(long, parameter, list):
    pass


  def long_function_name_so_i_need_to_wrap_params3(long, parameter,
                                                   list):
    pass

Wrong, and I see this a lot:

  def long_function_name_so_i_need_to_wrap_params4(long, parameter,
      list):
    pass

Note that with the very first example, a call is treated the way you'd prefer. 
This passes:

  long_function_name_so_i_need_to_wrap_params(
      1, 1, 1)



--
To view, visit http://gerrit.cloudera.org:8080/11102
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iaaa8377025e732231ac0f1f1f2db67298a171997
Gerrit-Change-Number: 11102
Gerrit-PatchSet: 1
Gerrit-Owner: Tim Armstrong <tarmstr...@cloudera.com>
Gerrit-Reviewer: David Knupp <dkn...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Gerrit-Reviewer: Michael Brown <mi...@cloudera.com>
Gerrit-Reviewer: Todd Lipcon <t...@apache.org>
Gerrit-Comment-Date: Wed, 01 Aug 2018 21:55:26 +0000
Gerrit-HasComments: Yes

Reply via email to