Re: Review Request 52939: Updated CLI pylint configuration to allow 2 character variable names.

2016-10-18 Thread Joseph Wu


> On Oct. 17, 2016, 6 p.m., Joseph Wu wrote:
> > src/cli_new/pylint.config, line 13
> > 
> >
> > I see a single 2 character variable name `io` here: 
> > https://reviews.apache.org/r/52953/diff/1#0 -- Line 306
> > I think a longer variable name is reasonable there.
> > 
> > `ip` can be added to the `good-names`.
> 
> Kevin Klues wrote:
> I didn't add this just to remove the warning (though that's what 
> triggered it). I added it because I figured allowing 2 character variable 
> names was probably a good thing in general. 
> 
> Are you suggesting that we drop the patch in favor of disallowing 2 
> character variable names in general?

Yeah, I'm in favor of keeping the warning.

We prefer longer/descriptive names in C++ and I'd say the same thing applies 
here.


- Joseph


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/52939/#review153007
---


On Oct. 17, 2016, 1:11 p.m., Kevin Klues wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/52939/
> ---
> 
> (Updated Oct. 17, 2016, 1:11 p.m.)
> 
> 
> Review request for mesos and Joseph Wu.
> 
> 
> Bugs: MESOS-5676
> https://issues.apache.org/jira/browse/MESOS-5676
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> Updated CLI pylint configuration to allow 2 character variable names.
> 
> 
> Diffs
> -
> 
>   src/cli_new/pylint.config c398220db063d249e6c62cf7e8cd6757e7860630 
> 
> Diff: https://reviews.apache.org/r/52939/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Kevin Klues
> 
>



Re: Review Request 52939: Updated CLI pylint configuration to allow 2 character variable names.

2016-10-18 Thread Kevin Klues


> On Oct. 18, 2016, 1 a.m., Joseph Wu wrote:
> > src/cli_new/pylint.config, line 13
> > 
> >
> > I see a single 2 character variable name `io` here: 
> > https://reviews.apache.org/r/52953/diff/1#0 -- Line 306
> > I think a longer variable name is reasonable there.
> > 
> > `ip` can be added to the `good-names`.

I didn't add this just to remove the warning (though that's what triggered it). 
I added it because I figured allowing 2 character variable names was probably a 
good thing in general. 

Are you suggesting that we drop the patch in favor of disallowing 2 character 
variable names in general?


- Kevin


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/52939/#review153007
---


On Oct. 17, 2016, 8:11 p.m., Kevin Klues wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/52939/
> ---
> 
> (Updated Oct. 17, 2016, 8:11 p.m.)
> 
> 
> Review request for mesos and Joseph Wu.
> 
> 
> Bugs: MESOS-5676
> https://issues.apache.org/jira/browse/MESOS-5676
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> Updated CLI pylint configuration to allow 2 character variable names.
> 
> 
> Diffs
> -
> 
>   src/cli_new/pylint.config c398220db063d249e6c62cf7e8cd6757e7860630 
> 
> Diff: https://reviews.apache.org/r/52939/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Kevin Klues
> 
>



Re: Review Request 52939: Updated CLI pylint configuration to allow 2 character variable names.

2016-10-17 Thread Joseph Wu

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/52939/#review153007
---




src/cli_new/pylint.config (line 13)


I see a single 2 character variable name `io` here: 
https://reviews.apache.org/r/52953/diff/1#0 -- Line 306
I think a longer variable name is reasonable there.

`ip` can be added to the `good-names`.


- Joseph Wu


On Oct. 17, 2016, 1:11 p.m., Kevin Klues wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/52939/
> ---
> 
> (Updated Oct. 17, 2016, 1:11 p.m.)
> 
> 
> Review request for mesos and Joseph Wu.
> 
> 
> Bugs: MESOS-5676
> https://issues.apache.org/jira/browse/MESOS-5676
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> Updated CLI pylint configuration to allow 2 character variable names.
> 
> 
> Diffs
> -
> 
>   src/cli_new/pylint.config c398220db063d249e6c62cf7e8cd6757e7860630 
> 
> Diff: https://reviews.apache.org/r/52939/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Kevin Klues
> 
>



Review Request 52939: Updated CLI pylint configuration to allow 2 character variable names.

2016-10-17 Thread Kevin Klues

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/52939/
---

Review request for mesos and Joseph Wu.


Bugs: MESOS-5676
https://issues.apache.org/jira/browse/MESOS-5676


Repository: mesos


Description
---

Updated CLI pylint configuration to allow 2 character variable names.


Diffs
-

  src/cli_new/pylint.config c398220db063d249e6c62cf7e8cd6757e7860630 

Diff: https://reviews.apache.org/r/52939/diff/


Testing
---


Thanks,

Kevin Klues