On Sun, Dec 01, 2013 at 03:03:57PM +0100, Joachim Durchholz wrote:
> Different people have different ideas about what "good style" is.
> Blanks before opening parentheses or not, how many indents to use,
> how many blanks per indent, docstring formatting, etc. etc. etc.

But PEP8 is strict enough here, isn't?

> What is it that these commands do?
> I'm not familiar with all of them.

These commands compare a number of commits per random
file (function.py) with ones, related to pep8 formatting.

Here we select only unique commits:
> >$ git blame sympy/core/function.py|cut -f 1 -d" "|sort|uniq
> >229
> >$ for c in `git blame sympy/core/function.py|cut -f 1 -d" "|sort|uniq`; do 
> >git show $c| egrep -iq '(pep8|pep 8)' && echo pep; done|wc -l
> >13

Here we count every line:
> >$ git blame sympy/core/function.py|cut -f 1 -d" "|wc -l
> >2291
> >$ for c in `git blame sympy/core/function.py|cut -f 1 -d" "`; do git show 
> >$c| egrep -iq '(pep8|pep 8)' && echo pep; done|wc -l
> >145

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to