PySide Workaround: connected to wrong signal type
[gc-dialer] / support / pylint.rc
index b445dcf..2a371a1 100644 (file)
@@ -1,11 +1,11 @@
 # lint Python modules using external checkers.
 # lint Python modules using external checkers.
-# 
+#
 # This is the main checker controling the other ones and the reports
 # generation. It is itself both a raw checker and an astng checker in order
 # to:
 # * handle message activation / deactivation at the module level
 # * handle some basic but necessary stats'data (number of classes, methods...)
 # This is the main checker controling the other ones and the reports
 # generation. It is itself both a raw checker and an astng checker in order
 # to:
 # * handle message activation / deactivation at the module level
 # * handle some basic but necessary stats'data (number of classes, methods...)
-# 
+#
 [MASTER]
 
 # Specify a configuration file.
 [MASTER]
 
 # Specify a configuration file.
@@ -53,17 +53,16 @@ load-plugins=
 #enable-msg=
 
 # Disable the message(s) with the given id(s).
 #enable-msg=
 
 # Disable the message(s) with the given id(s).
-#disable-msg=
-
+disable-msg=W0403,W0612,W0613,C0103,C0111,C0301,R0903,W0142,W0603,R0904,R0921,R0201
 
 [REPORTS]
 
 # set the output format. Available formats are text, parseable, colorized, msvs
 # (visual studio) and html
 
 [REPORTS]
 
 # set the output format. Available formats are text, parseable, colorized, msvs
 # (visual studio) and html
-output-format=text
+output-format=colorized
 
 # Include message's id in output
 
 # Include message's id in output
-include-ids=no
+include-ids=yes
 
 # Put messages in a separate file for each module / package specified on the
 # command line instead of printing them on stdout. Reports (if any) will be
 
 # Put messages in a separate file for each module / package specified on the
 # command line instead of printing them on stdout. Reports (if any) will be
@@ -71,7 +70,7 @@ include-ids=no
 files-output=no
 
 # Tells wether to display a full report or only the messages
 files-output=no
 
 # Tells wether to display a full report or only the messages
-reports=yes
+reports=no
 
 # Python expression which should return a note less than 10 (10 is the highest
 # note).You have access to the variables errors warning, statement which
 
 # Python expression which should return a note less than 10 (10 is the highest
 # note).You have access to the variables errors warning, statement which
@@ -96,7 +95,7 @@ comment=no
 # * undefined variables
 # * redefinition of variable from builtins or from an outer scope
 # * use of variable before assigment
 # * undefined variables
 # * redefinition of variable from builtins or from an outer scope
 # * use of variable before assigment
-# 
+#
 [VARIABLES]
 
 # Tells wether we should check for unused import in __init__ files.
 [VARIABLES]
 
 # Tells wether we should check for unused import in __init__ files.
@@ -119,7 +118,7 @@ additional-builtins=
 # * dangerous default values as arguments
 # * redefinition of function / method / class
 # * uses of the global statement
 # * dangerous default values as arguments
 # * redefinition of function / method / class
 # * uses of the global statement
-# 
+#
 [BASIC]
 
 # Required attributes for module, separated by a comma
 [BASIC]
 
 # Required attributes for module, separated by a comma
@@ -187,7 +186,7 @@ acquired-members=REQUEST,acl_users,aq_parent
 # checks for sign of poor/misdesign:
 # * number of methods, attributes, local variables...
 # * size, complexity of functions, methods
 # checks for sign of poor/misdesign:
 # * number of methods, attributes, local variables...
 # * size, complexity of functions, methods
-# 
+#
 [DESIGN]
 
 # Maximum number of arguments for function / method
 [DESIGN]
 
 # Maximum number of arguments for function / method
@@ -209,10 +208,10 @@ max-statements=50
 max-parents=7
 
 # Maximum number of attributes for a class (see R0902).
 max-parents=7
 
 # Maximum number of attributes for a class (see R0902).
-max-attributes=7
+max-attributes=15
 
 # Minimum number of public methods for a class (see R0903).
 
 # Minimum number of public methods for a class (see R0903).
-min-public-methods=2
+min-public-methods=1
 
 # Maximum number of public methods for a class (see R0904).
 max-public-methods=20
 
 # Maximum number of public methods for a class (see R0904).
 max-public-methods=20
@@ -225,7 +224,7 @@ max-public-methods=20
 # * attributes not defined in the __init__ method
 # * supported interfaces implementation
 # * unreachable code
 # * attributes not defined in the __init__ method
 # * supported interfaces implementation
 # * unreachable code
-# 
+#
 [CLASSES]
 
 # List of interface methods to ignore, separated by a comma. This is used for
 [CLASSES]
 
 # List of interface methods to ignore, separated by a comma. This is used for
@@ -241,7 +240,7 @@ defining-attr-methods=__init__,__new__,setUp
 # * relative / wildcard imports
 # * cyclic imports
 # * uses of deprecated modules
 # * relative / wildcard imports
 # * cyclic imports
 # * uses of deprecated modules
-# 
+#
 [IMPORTS]
 
 # Deprecated modules which should not be used, separated by a comma
 [IMPORTS]
 
 # Deprecated modules which should not be used, separated by a comma
@@ -263,7 +262,7 @@ int-import-graph=
 # checks for similarities and duplicated code. This computation may be
 # memory / CPU intensive, so you should disable it if you experiments some
 # problems.
 # checks for similarities and duplicated code. This computation may be
 # memory / CPU intensive, so you should disable it if you experiments some
 # problems.
-# 
+#
 [SIMILARITIES]
 
 # Minimum lines number of a similarity.
 [SIMILARITIES]
 
 # Minimum lines number of a similarity.
@@ -279,7 +278,7 @@ ignore-docstrings=yes
 # checks for:
 # * warning notes in the code like FIXME, XXX
 # * PEP 263: source code with non ascii character but no encoding declaration
 # checks for:
 # * warning notes in the code like FIXME, XXX
 # * PEP 263: source code with non ascii character but no encoding declaration
-# 
+#
 [MISCELLANEOUS]
 
 # List of note tags to take in consideration, separated by a comma.
 [MISCELLANEOUS]
 
 # List of note tags to take in consideration, separated by a comma.
@@ -291,11 +290,12 @@ notes=FIXME,XXX,TODO
 # * strict indentation
 # * line length
 # * use of <> instead of !=
 # * strict indentation
 # * line length
 # * use of <> instead of !=
-# 
+#
 [FORMAT]
 
 # Maximum number of characters on a single line.
 [FORMAT]
 
 # Maximum number of characters on a single line.
-max-line-length=80
+# @note Limiting this to the most extreme cases
+max-line-length=100
 
 # Maximum number of lines in a module
 max-module-lines=1000
 
 # Maximum number of lines in a module
 max-module-lines=1000