nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] [PATCH] linter definitions


From: Mark Oteiza
Subject: Re: [Nano-devel] [PATCH] linter definitions
Date: Sat, 18 Apr 2015 18:13:07 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Mike Frysinger <address@hidden> writes:

>> --- doc/syntax/python.nanorc (revision 5198)
>> +++ doc/syntax/python.nanorc (working copy)
>>
>> +linter pyflakes
>
> i use pylint myself, but not sure if this is getting into bikeshedding.  
> looks 
> like pylint is more up-to-date and comprehensive ?

Me neither (re: bikeshedding) as I have never used pylint myself.
However, now I realize I actually use flake8, which is just a wrapper
around pyflakes, pep8, and other linters…  oops.

>> --- doc/syntax/sh.nanorc     (revision 5198)
>> +++ doc/syntax/sh.nanorc     (working copy)
>>
>> +linter dash -n
>
> why not `sh -n` ?

At least here on Arch Linux, where sh is linked to bash, nano does not
recognize the output.  I tried some other shells and guessed that dash
would be a good choice.  I know at least debian uses dash as its sh:

https://wiki.debian.org/Shell



reply via email to

[Prev in Thread] Current Thread [Next in Thread]