title: How do I tell PyLint "it's a variable, not a constant" to stop message C0103?
body: <p>I have a module-level variable in my Python 2.6 program named "_log", which PyLint complains about:</p>
  
  <pre><code>C0103: Invalid name "_log" (should match (([A-Z_][A-Z0-9_]*)|(__.*__))$)
  </code></pre>
  
  <p>Having read <a href="https://stackoverflow.com/questions/709490/python-code-convention-using-pylint/709709#709709">this answer</a> I understand why it's doing this: it thinks the variable is a constant and applies the constant regex. However, I beg to differ: I think it's a variable. How do I tell PyLint that, so it doesn't complain? How does PyLint determine whether it's a variable or a constant - does it just treat all module-level variables as constants?</p>