src/tests/gui_pylintrc
author Michal Pryc <Michal.Pryc@Sun.Com>
Wed, 22 Jul 2009 19:01:40 -0700
changeset 1259 ee4f1901712e
parent 1219 8977dcf4ef8a
child 1338 3fdad345dda6
permissions -rw-r--r--
9363 pm-updatemanager thoroughly broken when used with -R option
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
1217
1e2405e83d3a 9788 pylint errors in Package Manager and Update Manager should be fixed
Padraig O'Briain <padraig.obriain@sun.com>
parents: 928
diff changeset
    55
# W0704: Except doesn't do anything
1e2405e83d3a 9788 pylint errors in Package Manager and Update Manager should be fixed
Padraig O'Briain <padraig.obriain@sun.com>
parents: 928
diff changeset
    56
# W0142: Used * or ** magic
1e2405e83d3a 9788 pylint errors in Package Manager and Update Manager should be fixed
Padraig O'Briain <padraig.obriain@sun.com>
parents: 928
diff changeset
    57
# R0921: Abstract class not referenced
483
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    58
#
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    59
# W0212: Access to a protected member                            (fix)
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    60
# 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
    61
# W0612: Unused variable                                         (fix)
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    62
# 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
    63
1217
1e2405e83d3a 9788 pylint errors in Package Manager and Update Manager should be fixed
Padraig O'Briain <padraig.obriain@sun.com>
parents: 928
diff changeset
    64
disable-msg=C0111,W0511,W0613,W0704,W0142,R0921
483
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
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    67
[REPORTS]
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    68
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    69
[BASIC]
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
# Required attributes for module, separated by a comma
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    72
required-attributes=
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    73
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    74
# 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
    75
# not require a docstring
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    76
no-docstring-rgx=__.*__
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 names
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    79
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
    80
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    81
# Regular expression which should only match correct module level names
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    82
const-rgx=(([a-zA-Z_][a-zA-Z1-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 class names
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    85
class-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 function names
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    88
function-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 method names
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    91
method-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 instance attribute names
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    94
attr-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 argument names
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
    97
argument-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 variable names
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   100
variable-rgx=[a-z_][a-zA-Z0-9_]*$
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   101
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   102
# Regular expression which should only match correct list comprehension /
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   103
# generator expression variable names
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   104
inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   105
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   106
# 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
   107
good-names=N_
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   108
#good-names=i,j,k,ex,Run,_,Q_
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   109
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   110
[TYPECHECK]
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   111
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   112
[VARIABLES]
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   113
808
6c89385ac9ff 4463 Change PM and UM to use _() as opposed to self._()
Padraig O'Briain <padraig.obriain@sun.com>
parents: 578
diff changeset
   114
# 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
   115
# 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
   116
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
   117
6c89385ac9ff 4463 Change PM and UM to use _() as opposed to self._()
Padraig O'Briain <padraig.obriain@sun.com>
parents: 578
diff changeset
   118
[CLASSES] 
483
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   119
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   120
[DESIGN]
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 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
   123
max-args=15
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 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
   126
max-locals=60
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 return / yield for function / method body
1217
1e2405e83d3a 9788 pylint errors in Package Manager and Update Manager should be fixed
Padraig O'Briain <padraig.obriain@sun.com>
parents: 928
diff changeset
   129
max-returns=22
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 branch for function / method body
1259
ee4f1901712e 9363 pm-updatemanager thoroughly broken when used with -R option
Michal Pryc <Michal.Pryc@Sun.Com>
parents: 1219
diff changeset
   132
max-branchs=38
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 statements in function / method body
1217
1e2405e83d3a 9788 pylint errors in Package Manager and Update Manager should be fixed
Padraig O'Briain <padraig.obriain@sun.com>
parents: 928
diff changeset
   135
max-statements=260
483
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 parents for a class (see R0901).
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   138
max-parents=7
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   139
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   140
# Maximum number of attributes for a class (see R0902).
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   141
# 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
   142
# for performance reasons
1219
8977dcf4ef8a 816 Provide Search Text completion
John Rice <john.rice@sun.com>
parents: 1217
diff changeset
   143
max-attributes=200
483
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
# Minimum number of public methods for a class (see R0903).
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   146
min-public-methods=0
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   147
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   148
# Maximum number of public methods for a class (see R0904).
1217
1e2405e83d3a 9788 pylint errors in Package Manager and Update Manager should be fixed
Padraig O'Briain <padraig.obriain@sun.com>
parents: 928
diff changeset
   149
# Increase from 20 to 56 as we are deriving off various classes and can't reduce the number further
1e2405e83d3a 9788 pylint errors in Package Manager and Update Manager should be fixed
Padraig O'Briain <padraig.obriain@sun.com>
parents: 928
diff changeset
   150
max-public-methods=56
483
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   151
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   152
[IMPORTS]
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   153
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   154
[FORMAT]
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   155
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   156
# Maximum number of characters on a single line.
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   157
#
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   158
max-line-length=90
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   159
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   160
# Maximum number of lines in a module
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   161
# Increased from 1500 as the packagemanager is doing a lot of GUI initialisation that we can't logically put anywhere else.
1219
8977dcf4ef8a 816 Provide Search Text completion
John Rice <john.rice@sun.com>
parents: 1217
diff changeset
   162
max-module-lines=5000
483
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
# 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
   165
# "\t" (1 tab).
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   166
#
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   167
indent-string='        '
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   168
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   169
[MISCELLANEOUS]
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   170
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   171
[SIMILARITIES]
2110c070804c #2735: pylint_gui_cleanup
John Rice <john.rice@sun.com>
parents:
diff changeset
   172