Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Pylint cleanup round 5.

  • Loading branch information...
commit d7a3724ce100c2d2f1b8dff3463dffc012bfcb5c 1 parent 9b0e63a
Josh Kearney authored October 23, 2011
10  .pylintrc
... ...
@@ -1,10 +1,8 @@
1 1
 [Messages Control]
  2
+# C0111: Don't require docstrings on every method
2 3
 # W0511: TODOs in code comments are fine.
3 4
 # W0142: *args and **kwargs are fine.
4  
-disable = W0511,W0142
  5
+# W0622: Redefining id is fine.
  6
+disable=C0111,W0511,W0142,W0622
  7
+method-rgx=([a-z_][a-z0-9_]{2,30}|setUp|tearDown)$
5 8
 no-docstring-rgx=((__.*__)|([tT]est.*)|setUp|tearDown)$
6  
-
7  
-[Design]
8  
-max-public-methods=100
9  
-min-public-methods=0
10  
-max-args=6
3  tests/test_utils.py
@@ -15,7 +15,6 @@
15 15
 """Pyhole Utils Unit Tests"""
16 16
 
17 17
 import os
18  
-import sys
19 18
 import unittest
20 19
 
21 20
 from pyhole import utils
@@ -44,7 +43,7 @@ def test_ensure_int_3(self):
44 43
         self.assertEqual(utils.ensure_int("a"), None)
45 44
 
46 45
     def test_build_options(self):
47  
-        options, args = utils.build_options()
  46
+        options, _args = utils.build_options()
48 47
         self.assertTrue(isinstance(options, object))
49 48
 
50 49
     def test_get_option(self):

0 notes on commit d7a3724

Please sign in to comment.
Something went wrong with that request. Please try again.