On Fri, Mar 25, 2016 at 6:59 AM, john lunzer <[email protected]> wrote:
>
My biggest wishlist item is what I would "Livelint" which constantly runs
and reruns pylint (or similar) in the background
.
This basically already exists. On Windows, I have this pylint.bat file:
python2 c:\leo.repo\leo-editor\pylint-leo.py ^
rc=c:\leo.repo\leo-editor\leo\test\pylint-leo-rc.txt %*
In other words, the top-level leo-editor folder contains:
- pylint-leo.py
- pylint-leo-rc.txt
c:\leo.repo\leo-editor>c:\Anaconda2\python.exe
c:\leo.repo\leo-editor\pylint-leo.py
rc=c:\leo.repo\leo-editor\leo\test\pylint-leo-rc.txt -h
Usage: pylint-leo.py [options]
Options:
-h, --help show this help message and exit
-a all
-c core
-e external
-f FILENAME filename, relative to leo folder
-g gui plugins
-m modes
-p plugins
-s silent
-u user commands
-v report pylint version
My typical usage is:
pylint -a -s
This runs pylint once (on all of Leo's files) in whatever console I am
using. In other words, concurrently with other copies of Leo. Running
this script continuously is left as an exercise for the reader ;-)
Hmm. It seems I haven't documented the pylint script (until now). Shame
on me.
Edward
--
You received this message because you are subscribed to the Google Groups
"leo-editor" 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 https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.