title: Should I capitalize constant in Python?
body: <p>In PEP8, the general rule is to declare constants in UPPER_CASE chars. In real life, there can be a number of situations:</p>
  
  <pre><code>#!env python
  
  DATABASE_HOST = 'localhost'
  app = Flask('myapp')
  base_two = partial(int, base=2) 
  </code></pre>
  
  <p>Typically we consider string-type or numeric-type variables as immutable and thus constants, but not object or function. The problem is there is no-way a linter can do type-checking.</p>
  
  <p>How do you deal with this case? Should I capitalize them or just disable this rule in my linter?</p>