Re: [RFC PATCH] tools: add perltidy to the syntax checker/fixer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 26, 2017 at 11:58 AM, Paul Moore <pmoore@xxxxxxxxxx> wrote:
> From: Paul Moore <paul@xxxxxxxxxxxxxx>
>
> Signed-off-by: Paul Moore <paul@xxxxxxxxxxxxxx>
> ---
>  tools/check-syntax |   86 ++++++++++++++++++++++++++++++++++++++++------------
>  1 file changed, 66 insertions(+), 20 deletions(-)

As previously mentioned this patch is an RFC because I think we should
have some discussion about what Perl style we want to adopt for the
tests.  I'm not much of a Perl coder so I'm happy to defer to others
who may have a strong opinion.

At present the script runs perltidy without any options, according to
the manpage this should format the Perl code according to the
perlstyle(1) manpage; if no one has a strong opinion, this may be the
"right" style to use.

-- 
paul moore
www.paul-moore.com



[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux