Thank you for your patience. I have created the PR 
(https://github.com/apache/fluo-muchos/pull/340) it is a large patch, but most 
of the changes are formatting and minor changes to Ansible. Hopefully should be 
reasonable to review.

Arvind Shyamsundar

-----Original Message-----
From: Christopher <ctubb...@apache.org> 
Sent: Thursday, April 9, 2020 7:59 PM
To: fluo-dev <dev@fluo.apache.org>
Subject: Re: [EXTERNAL] Re: Static checks for Muchos code

On Thu, Apr 9, 2020 at 11:33 AM Arvind Shyamsundar 
<arvin...@microsoft.com.invalid> wrote:
>
> Just wanted to update that I am still working on this. Progress has been a 
> bit slow due to all the distractions with WFH.
>

WFH =? Working from home

> I might also precede the "Travis PR" with a one-time "fixup PR" addressing 
> existing known formatting issues and with minor fixes to the Python code (to 
> address the more important PyLint ones) and such.
>

Of course.

> Arvind Shyamsundar
>
> -----Original Message-----
> From: Christopher <ctubb...@apache.org>
> Sent: Thursday, March 26, 2020 9:32 AM
> To: fluo-dev <dev@fluo.apache.org>
> Subject: [EXTERNAL] Re: Static checks for Muchos code
>
> These seem like good checks. Could execute these checks in Travis CI.
> Also, to ignore the `.git` directory, you could change your find 
> command like: find . -type f -a -not -regex '.*/[.]git/.*' -print0
>
> On Thu, Mar 26, 2020 at 12:16 PM Arvind Shyamsundar 
> <arvin...@microsoft.com.invalid> wrote:
> >
> > hi folks,
> > As Muchos has a bunch of non-Java code, I'm planning to enhance the tests 
> > we have for Muchos to include some static checkers as well. Examples of 
> > those include:
> >
> >
> >   *   Ansible-lint 
> > (https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fansible%2Fansible-lint&amp;data=02%7C01%7Carvindsh%40microsoft.com%7C98c31420f82144eef9d808d7dcfb2ebc%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637220843697191216&amp;sdata=m2oeaovq2ePc7xWfZ7%2FGMl%2B%2BsKJOODo%2FicwQ%2FkPwBPg%3D&amp;reserved=0)
> >  for checking issues with Playbooks
> >   *   Check for "no newline at end of file" - I could use some ideas here. 
> > I found useful commands online such as [1] which detect this, but I would 
> > totally reuse a more robust way if there is one.
> >   *   Check for trailing whitespace outside of Ansible playbooks 
> > (Ansible-lint checks that for playbooks) - again I found trivial way [2] to 
> > do this but would appreciate any tips on more robust ways.
> >   *   Maybe also add PyLint 
> > (https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pylint.org%2F&amp;data=02%7C01%7Carvindsh%40microsoft.com%7C98c31420f82144eef9d808d7dcfb2ebc%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637220843697191216&amp;sdata=Lh4PC8HMy2CAT%2ByY107nr%2F1%2BxcJVhZcaxvWRr2W0DQM%3D&amp;reserved=0)
> >  for the Python code. This can be noisy, but a one-time cleanup should 
> > eliminate most of the problems it will find right now.
> >
> > Eager to get inputs and discuss before starting work on this.
> >
> > [1]
> > find .-type f -print0 | xargs -0-L1 bash -c 'test "$(tail -c 1 "$0")" && 
> > echo "No new line at end of $0"'
> >
> > [2]
> > grep -r '[[:blank:]]$' .
> >
> > Thanks.
> >
> > Arvind Shyamsundar

Reply via email to