Anybody seen a misspelled variable name finder tool?

R

Robert Oschler

One of the recurring bugs I find in my program, is a bug due to a
misspelling of a variable name. Is there a code checker out there that can
help find these critters? If so, URL's please.

Thanks.
 
B

beliavsky

Robert Oschler said:
One of the recurring bugs I find in my program, is a bug due to a
misspelling of a variable name. Is there a code checker out there that can
help find these critters? If so, URL's please.

Pychecker can find misspelled variables in functions. For the code

def twice(x):
return 2*xx

It produces the warnings

1: Parameter (x) not used
2: No global (xx) found

Pychecker is not much help in finding misspelled variables in your main program,
compared to just running the program.

See http://pychecker.sourceforge.net/ .
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top