<div dir="ltr">The first time I tried reproducing this, I got <div><br><div>  ************* Module testtom</div><div>  C:  1, 0: Missing module docstring (missing-docstring)</div><div>  E:  5,10: Undefined variable 'row' (undefined-variable)</div><div>  W:  1,16: Unused argument 'now' (unused-argument)</div><div><br></div><div>After fixing my typo, I only see the error<br>  C:  1, 0: Missing module docstring (missing-docstring)<br><br>so perhaps you've got a typo</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 8, 2015 at 10:45 AM, Tom Ekberg <span dir="ltr"><<a href="mailto:tekberg@uw.edu" target="_blank">tekberg@uw.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Here is my 9 line python program:<br>
<br>
"""<br>
Nothing to see here<br>
"""<br>
<br>
def is_priority(row):<br>
    """<br>
    Priority tests<br>
    """<br>
    print row<br>
<br>
Here is the command line output, sans reports:<br>
<br>
$ pylint --report=n foobarbaz.py<br>
No config file found, using default configuration<br>
************* Module hud.monitors.foobarbaz<br>
E:  9,10: Undefined variable 'row' (undefined-variable)<br>
<br>
Why is row undefined if it is a function parameter? I realize I can turn it off with a configuration file, but this is such a simple case. I must be doing something wrong to get this error.<br>
<br>
Because I'm sure you will ask, here is the pylint version detail:<br>
<br>
$ pylint --version<br>
No config file found, using default configuration<br>
pylint 1.4.4,<br>
astroid 1.4.0, common 1.0.2<br>
Python 2.7.3 (default, Feb 27 2014, 19:58:35)<br>
[GCC 4.6.3]<br>
<br>
Running Ubuntu 12.04.4 LTS.<br>
<br>
Tom Ekberg<br>
Senior Computer Specialist, Lab Medicine<br>
University of Washington Medical Center<br>
1959 NE Pacific St, MS 357110<br>
Seattle WA 98195<br>
work: (206) 598-8544<br>
email: <a href="mailto:tekberg@uw.edu">tekberg@uw.edu</a><br>
<br>
<br>
_______________________________________________<br>
code-quality mailing list<br>
<a href="mailto:code-quality@python.org">code-quality@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/code-quality" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/code-quality</a><br>
</blockquote></div><br></div>