Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Pylint cleanup round 7.

  • Loading branch information...
commit ba4be4e052b919ae9da87047ecbb2847278f98a9 1 parent f6b90cb
@jk0 authored
Showing with 4 additions and 3 deletions.
  1. +2 −1  .pylintrc
  2. +2 −2 pyhole/utils.py
View
3  .pylintrc
@@ -3,7 +3,8 @@
# W0511: TODOs in code comments are fine.
# W0142: *args and **kwargs are fine.
# W0622: Redefining id is fine.
-disable=C0111,W0511,W0142,W0622
+# R0902: Too many instance attributes
+disable=C0111,W0511,W0142,W0622,R0902
method-rgx=([a-z_][a-z0-9_]{2,30}|setUp|tearDown)$
no-docstring-rgx=((__.*__)|([tT]est.*)|setUp|tearDown)$
View
4 pyhole/utils.py
@@ -187,6 +187,6 @@ def generate_config():
return
print "Generating..."
- with open(conf_file, "w") as f:
- f.write(example)
+ with open(conf_file, "w") as open_file:
+ open_file.write(example)
print "Done"
Please sign in to comment.
Something went wrong with that request. Please try again.