Permalink
Browse files

Fix various pylint complaints against critic.py

Clean up imports, removing unused ones and the ugly import of * from
dbutils.

Remove some unused functions.

Rename some unused parameters with a leading underscore to suppress
the warning about them being unused.

Avoid overly unspecific exception catching.  In most cases rewrite
code to not rely on exceptions at all.

Also add pylint.rc file that reconfigures pylint to be slightly more
compatible with existing code.
  • Loading branch information...
1 parent fe9dc1d commit 83758a8baee39cdc4ee066a4327cf35c7de4169a @jensl committed Nov 26, 2012
Showing with 353 additions and 116 deletions.
  1. +76 −102 critic.py
  2. +16 −13 extensions.py
  3. +260 −0 pylint.rc
  4. +1 −1 request.py
Oops, something went wrong.

0 comments on commit 83758a8

Please sign in to comment.