Python IDLE extension to perform pylint analysis on an open file
- Go to terminal and install with
pip install lintcheck[user]
. - Run command
idleuserextend; lintcheck
. You should see the following output:Config should be good! Config should be good!
. - Open IDLE, go to
Options
->Configure IDLE
->Extensions
. If everything went well, alongsideZzDummy
there should be and option calledlintcheck
. This is where you can configure how lintcheck works.
- Go to terminal and install with
pip install lintcheck
. - Run command
lintcheck
. You will likely see a message sayinglintcheck not in system registered extensions!
. Run the command given to add lintcheck to your system's IDLE extension config file. - Again run command
lintcheck
. This time, you should see the following output:Config should be good!
. - Open IDLE, go to
Options
->Configure IDLE
->Extensions
. If everything went well, alongsideZzDummy
there should be and option calledlintcheck
. This is where you can configure how lintcheck works.
Option ignore
is a list of pylint messages,
separated by semicolons (;) that should be disabled using --disable
.
See pylint --help
for more information.
Option jobs
is the number of processes pylint should use when
checking your code, using --jobs
. See pylint --help
for more information.
Option search_wrap
is a boolian of whether or not searching for
the next # lintcheck:
comment will wrap around or not, defaults to
False.