src/tests/gui_pylintrc
author John Rice <john.rice@sun.com>
Tue, 10 Mar 2009 11:56:53 +0000
changeset 928 c74cd8014b6f
parent 927 2beb452e6245
child 1217 1e2405e83d3a
permissions -rw-r--r--
6352 Add MimeType support for adding Authorities and Packages via PM (follow on)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
483
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
     1
#
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
     2
# CDDL HEADER START
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
     3
#
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
     7
#
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    11
# and limitations under the License.
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    12
#
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    18
#
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    19
# CDDL HEADER END
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    20
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    21
# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    22
# Use is subject to license terms.
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    23
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    24
# This file is used to control pylint when checking the packagemanager
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    25
# GUI python source
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    26
#
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    27
# To run:
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    28
#
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    29
# $ cd .../gate/src
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    30
# $ pylint --rcfile=gui_pylintrc packagemanager.py > pylint-results.txt
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    31
#
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    32
# For more information on pylint, see: http://www.logilab.org/857
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    33
# In particular:
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    34
#
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    35
#  * Pylint tutorial   - http://www.logilab.org/card/pylint_tutorial
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    36
#  * Pylint User Guide - http://www.logilab.org/card/pylint_manual
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    37
#  * Pylint Features   - http://www.logilab.org/card/pylintfeatures
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    38
#
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    39
# The goal is to try to get a score of 10.00 for this Python code.
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    40
# Currently this will require quite a bit of useful refactoring. 
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    41
# Until that is done, we fudge the results by making various 
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    42
# adjustments to the default pylint values. This will remove their 
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    43
# warnings from the output generated by pylint.
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    44
#
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    45
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    46
[MASTER]
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    47
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    48
[MESSAGES CONTROL]
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    49
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    50
# Disable the message(s) with the given id(s).
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    51
#
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    52
# C0111: Missing Docstring
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    53
# W0511: Used when a warning note as FIXME or XXX is detected.
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    54
# W0613: Unused argument
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    55
#
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    56
# W0212: Access to a protected member                            (fix)
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    57
# Some duplicated code is giving us a number of protected access warnings that we will get rid of when this code duplication is removed
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    58
# W0612: Unused variable                                         (fix)
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    59
# Some of the access methods we use in return a number of elements of which we only need to use one
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    60
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    61
disable-msg=C0111,W0511,W0613
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    62
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    63
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    64
[REPORTS]
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    65
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    66
[BASIC]
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    67
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    68
# Required attributes for module, separated by a comma
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    69
required-attributes=
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    70
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    71
# Regular expression which should only match functions or classes name which do
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    72
# not require a docstring
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    73
no-docstring-rgx=__.*__
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    74
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    75
# Regular expression which should only match correct module names
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    76
module-rgx=(([a-z_][a-zA-Z0-9_-]*)|([A-Z][a-zA-Z0-9_-]+))$
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    77
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    78
# Regular expression which should only match correct module level names
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    79
const-rgx=(([a-zA-Z_][a-zA-Z1-9_]*)|(__.*__))$
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    80
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    81
# Regular expression which should only match correct class names
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    82
class-rgx=[A-Z_][a-zA-Z0-9]+$
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    83
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    84
# Regular expression which should only match correct function names
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    85
function-rgx=[a-z_][a-zA-Z0-9_]*$
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    86
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    87
# Regular expression which should only match correct method names
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    88
method-rgx=[a-z_][a-zA-Z0-9_]*$
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    89
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    90
# Regular expression which should only match correct instance attribute names
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    91
attr-rgx=[a-z_][a-zA-Z0-9_]*$
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    92
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    93
# Regular expression which should only match correct argument names
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    94
argument-rgx=[a-z_][a-zA-Z0-9_]*$
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    95
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    96
# Regular expression which should only match correct variable names
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    97
variable-rgx=[a-z_][a-zA-Z0-9_]*$
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    98
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    99
# Regular expression which should only match correct list comprehension /
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   100
# generator expression variable names
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   101
inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   102
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   103
# Good variable names which should always be accepted, separated by a comma
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   104
good-names=N_
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   105
#good-names=i,j,k,ex,Run,_,Q_
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   106
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   107
[TYPECHECK]
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   108
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   109
[VARIABLES]
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   110
808
6c89385ac9ff 4463 Change PM and UM to use _() as opposed to self._()
Padraig O'Briain <padraig.obriain@sun.com>
parents: 578
diff changeset
   111
# In this case we define '_' (the function name for gettext) so that pylint
6c89385ac9ff 4463 Change PM and UM to use _() as opposed to self._()
Padraig O'Briain <padraig.obriain@sun.com>
parents: 578
diff changeset
   112
# doesn't complain about things like _("this is i18n string")
6c89385ac9ff 4463 Change PM and UM to use _() as opposed to self._()
Padraig O'Briain <padraig.obriain@sun.com>
parents: 578
diff changeset
   113
additional-builtins=_
6c89385ac9ff 4463 Change PM and UM to use _() as opposed to self._()
Padraig O'Briain <padraig.obriain@sun.com>
parents: 578
diff changeset
   114
6c89385ac9ff 4463 Change PM and UM to use _() as opposed to self._()
Padraig O'Briain <padraig.obriain@sun.com>
parents: 578
diff changeset
   115
[CLASSES] 
483
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   116
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   117
[DESIGN]
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   118
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   119
# Maximum number of arguments for function / method
928
c74cd8014b6f 6352 Add MimeType support for adding Authorities and Packages via PM (follow on)
John Rice <john.rice@sun.com>
parents: 927
diff changeset
   120
max-args=15
483
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   121
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   122
# Maximum number of locals for function / method body
578
da257532b3f2 3816 RFE UpdateManager notify users of repo updates
John Rice <john.rice@sun.com>
parents: 500
diff changeset
   123
max-locals=60
483
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   124
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   125
# Maximum number of return / yield for function / method body
578
da257532b3f2 3816 RFE UpdateManager notify users of repo updates
John Rice <john.rice@sun.com>
parents: 500
diff changeset
   126
max-returns=10
483
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   127
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   128
# Maximum number of branch for function / method body
578
da257532b3f2 3816 RFE UpdateManager notify users of repo updates
John Rice <john.rice@sun.com>
parents: 500
diff changeset
   129
max-branchs=30
483
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   130
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   131
# Maximum number of statements in function / method body
866
1768eb95fd29 6355 Add StartPage to PM
John Rice <john.rice@sun.com>
parents: 808
diff changeset
   132
max-statements=200
483
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   133
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   134
# Maximum number of parents for a class (see R0901).
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   135
max-parents=7
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   136
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   137
# Maximum number of attributes for a class (see R0902).
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   138
# Require large number of instance attributes as we are loading up handles to widget elements and only want to do this in init
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   139
# for performance reasons
927
2beb452e6245 6352 Add MimeType support for adding Authorities and Packages via PM
John Rice <john.rice@sun.com>
parents: 866
diff changeset
   140
max-attributes=150
483
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   141
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   142
# Minimum number of public methods for a class (see R0903).
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   143
min-public-methods=0
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   144
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   145
# Maximum number of public methods for a class (see R0904).
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   146
# Increase from 20 to 40 as we are deriving off various classes and can't reduce the number further
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   147
max-public-methods=40
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   148
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   149
[IMPORTS]
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   150
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   151
[FORMAT]
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   152
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   153
# Maximum number of characters on a single line.
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   154
#
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   155
max-line-length=90
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   156
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   157
# Maximum number of lines in a module
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   158
# Increased from 1500 as the packagemanager is doing a lot of GUI initialisation that we can't logically put anywhere else.
866
1768eb95fd29 6355 Add StartPage to PM
John Rice <john.rice@sun.com>
parents: 808
diff changeset
   159
max-module-lines=3000
483
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   160
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   161
# String used as indentation unit. This is usually " " (4 spaces) or
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   162
# "\t" (1 tab).
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   163
#
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   164
indent-string='        '
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   165
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   166
[MISCELLANEOUS]
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   167
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   168
[SIMILARITIES]
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   169