.pylintrc
author ymh <ymh.work@gmail.com>
Sat, 21 Jan 2017 01:26:24 +0100
changeset 1482 d22f6e7f1416
parent 1466 f1c220ead0d7
permissions -rw-r--r--
add annotation stats and tags on content resource
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1458
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
[MASTER]
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
# Specify a configuration file.
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
#rcfile=
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
# Python code to execute, usually for sys.path manipulation such as
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
# pygtk.require().
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
#init-hook=
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    10
# Profiled execution.
1466
f1c220ead0d7 add grammar control for polemic widget in metadataplayer. Created new version of embed code, upgrade metadataplayer
ymh <ymh.work@gmail.com>
parents: 1458
diff changeset
    11
#profile=no
1458
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    12
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    13
# Add files or directories to the blacklist. They should be base names, not
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    14
# paths.
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    15
ignore=CVS
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    16
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    17
# Pickle collected data for later comparisons.
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    18
persistent=yes
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    19
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    20
# List of plugins (as comma separated values of python modules names) to load,
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    21
# usually to register additional checkers.
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    22
load-plugins=pylint_django
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    23
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    24
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    25
# Use multiple processes to speed up Pylint.
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    26
jobs=1
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    27
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    28
# Allow loading of arbitrary C extensions. Extensions are imported into the
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    29
# active Python interpreter and may run arbitrary code.
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    30
unsafe-load-any-extension=no
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    31
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    32
# A comma-separated list of package or module names from where C extensions may
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    33
# be loaded. Extensions are loading into the active Python interpreter and may
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    34
# run arbitrary code
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    35
extension-pkg-whitelist=lxml
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    36
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    37
# Allow optimization of some AST trees. This will activate a peephole AST
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    38
# optimizer, which will apply various small optimizations. For instance, it can
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    39
# be used to obtain the result of joining multiple strings with the addition
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    40
# operator. Joining a lot of strings can lead to a maximum recursion error in
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    41
# Pylint and this flag can prevent that. It has one side effect, the resulting
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    42
# AST will be different than the one from reality.
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    43
optimize-ast=no
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    44
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    45
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    46
[REPORTS]
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    47
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    48
# Set the output format. Available formats are text, parseable, colorized, msvs
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    49
# (visual studio) and html. You can also give a reporter class, eg
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    50
# mypackage.mymodule.MyReporterClass.
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    51
output-format=text
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    52
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    53
# Put messages in a separate file for each module / package specified on the
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    54
# command line instead of printing them on stdout. Reports (if any) will be
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    55
# written in a file name "pylint_global.[txt|html]".
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    56
files-output=no
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    57
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    58
# Tells whether to display a full report or only the messages
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    59
reports=yes
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    60
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    61
# Python expression which should return a note less than 10 (10 is the highest
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    62
# note). You have access to the variables errors warning, statement which
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    63
# respectively contain the number of errors / warnings messages and the total
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    64
# number of statements analyzed. This is used by the global evaluation report
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    65
# (RP0004).
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    66
evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    67
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    68
# Add a comment according to your evaluation note. This is used by the global
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    69
# evaluation report (RP0004).
1466
f1c220ead0d7 add grammar control for polemic widget in metadataplayer. Created new version of embed code, upgrade metadataplayer
ymh <ymh.work@gmail.com>
parents: 1458
diff changeset
    70
#comment=no
1458
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    71
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    72
# Template used to display messages. This is a python new-style format string
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    73
# used to format the message information. See doc for all details
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    74
#msg-template=
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    75
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    76
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    77
[MESSAGES CONTROL]
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    78
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    79
# Only show warnings with the listed confidence levels. Leave empty to show
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    80
# all. Valid levels: HIGH, INFERENCE, INFERENCE_FAILURE, UNDEFINED
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    81
confidence=
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    82
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    83
# Enable the message, report, category or checker with the given id(s). You can
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    84
# either give multiple identifier separated by comma (,) or put this option
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    85
# multiple time. See also the "--disable" option for examples.
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    86
#enable=
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    87
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    88
# Disable the message, report, category or checker with the given id(s). You
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    89
# can either give multiple identifiers separated by comma (,) or put this
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    90
# option multiple times (only on the command line, not in the configuration
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    91
# file where it should appear only once).You can also use "--disable=all" to
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    92
# disable everything first and then reenable specific checks. For example, if
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    93
# you want to run only the similarities checker, you can use "--disable=all
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    94
# --enable=similarities". If you want to run only the classes checker, but have
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    95
# no Warning level messages displayed, use"--disable=all --enable=classes
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    96
# --disable=W"
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    97
disable=W1640,E1607,W1629,W1618,W1606,W1604,I0021,W1612,E1603,E1602,W1626,W1637,W1622,W1617,W1630,W1628,W1624,I0020,E1601,E1605,E1604,W1625,W1623,W1635,W1615,W1614,W1632,W1609,W1601,W1605,W1619,W1610,W1636,W1633,W1611,W1603,W1621,W1613,W0704,W1607,W1620,W1634,W1608,W1602,W1638,W1616,W1639,E1608,E1606,W1627,C0111,C0325,R0912,R0914
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    98
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    99
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   100
[BASIC]
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   101
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   102
# Required attributes for module, separated by a comma
1466
f1c220ead0d7 add grammar control for polemic widget in metadataplayer. Created new version of embed code, upgrade metadataplayer
ymh <ymh.work@gmail.com>
parents: 1458
diff changeset
   103
#required-attributes=
1458
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   104
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   105
# List of builtins function names that should not be used, separated by a comma
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   106
bad-functions=map,filter
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   107
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   108
# Good variable names which should always be accepted, separated by a comma
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   109
good-names=i,j,k,ex,Run,_
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   110
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   111
# Bad variable names which should always be refused, separated by a comma
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   112
bad-names=foo,bar,baz,toto,tutu,tata
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   113
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   114
# Colon-delimited sets of names that determine each other's naming style when
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   115
# the name regexes allow several styles.
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   116
name-group=
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   117
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   118
# Include a hint for the correct naming format with invalid-name
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   119
include-naming-hint=no
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   120
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   121
# Regular expression matching correct function names
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   122
function-rgx=[a-z_][a-z0-9_]{2,30}$
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   123
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   124
# Naming hint for function names
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   125
function-name-hint=[a-z_][a-z0-9_]{2,30}$
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   126
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   127
# Regular expression matching correct constant names
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   128
const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__))$
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   129
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   130
# Naming hint for constant names
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   131
const-name-hint=(([A-Z_][A-Z0-9_]*)|(__.*__))$
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   132
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   133
# Regular expression matching correct inline iteration names
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   134
inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   135
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   136
# Naming hint for inline iteration names
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   137
inlinevar-name-hint=[A-Za-z_][A-Za-z0-9_]*$
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   138
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   139
# Regular expression matching correct module names
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   140
module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   141
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   142
# Naming hint for module names
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   143
module-name-hint=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   144
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   145
# Regular expression matching correct argument names
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   146
argument-rgx=[a-z_][a-z0-9_]{2,30}$
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   147
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   148
# Naming hint for argument names
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   149
argument-name-hint=[a-z_][a-z0-9_]{2,30}$
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   150
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   151
# Regular expression matching correct method names
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   152
method-rgx=[a-z_][a-z0-9_]{2,30}$
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   153
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   154
# Naming hint for method names
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   155
method-name-hint=[a-z_][a-z0-9_]{2,30}$
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   156
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   157
# Regular expression matching correct variable names
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   158
variable-rgx=[a-z_][a-z0-9_]{2,30}$
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   159
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   160
# Naming hint for variable names
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   161
variable-name-hint=[a-z_][a-z0-9_]{2,30}$
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   162
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   163
# Regular expression matching correct class names
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   164
class-rgx=[A-Z_][a-zA-Z0-9]+$
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   165
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   166
# Naming hint for class names
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   167
class-name-hint=[A-Z_][a-zA-Z0-9]+$
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   168
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   169
# Regular expression matching correct class attribute names
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   170
class-attribute-rgx=([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   171
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   172
# Naming hint for class attribute names
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   173
class-attribute-name-hint=([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   174
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   175
# Regular expression matching correct attribute names
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   176
attr-rgx=[a-z_][a-z0-9_]{2,30}$
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   177
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   178
# Naming hint for attribute names
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   179
attr-name-hint=[a-z_][a-z0-9_]{2,30}$
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   180
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   181
# Regular expression which should only match function or class names that do
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   182
# not require a docstring.
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   183
no-docstring-rgx=__.*__
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   184
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   185
# Minimum line length for functions/classes that require docstrings, shorter
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   186
# ones are exempt.
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   187
docstring-min-length=-1
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   188
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   189
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   190
[FORMAT]
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   191
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   192
# Maximum number of characters on a single line.
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   193
max-line-length=100
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   194
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   195
# Regexp for a line that is allowed to be longer than the limit.
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   196
ignore-long-lines=^\s*(# )?<?https?://\S+>?$
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   197
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   198
# Allow the body of an if to be on the same line as the test if there is no
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   199
# else.
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   200
single-line-if-stmt=no
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   201
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   202
# List of optional constructs for which whitespace checking is disabled
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   203
no-space-check=trailing-comma,dict-separator
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   204
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   205
# Maximum number of lines in a module
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   206
max-module-lines=1000
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   207
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   208
# String used as indentation unit. This is usually " " (4 spaces) or "\t" (1
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   209
# tab).
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   210
indent-string='    '
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   211
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   212
# Number of spaces of indent required inside a hanging or continued line.
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   213
indent-after-paren=4
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   214
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   215
# Expected format of line ending, e.g. empty (any line ending), LF or CRLF.
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   216
expected-line-ending-format=
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   217
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   218
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   219
[LOGGING]
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   220
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   221
# Logging modules to check that the string format arguments are in logging
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   222
# function parameter format
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   223
logging-modules=logging
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   224
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   225
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   226
[MISCELLANEOUS]
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   227
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   228
# List of note tags to take in consideration, separated by a comma.
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   229
notes=FIXME,XXX,TODO
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   230
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   231
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   232
[SIMILARITIES]
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   233
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   234
# Minimum lines number of a similarity.
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   235
min-similarity-lines=4
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   236
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   237
# Ignore comments when computing similarities.
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   238
ignore-comments=yes
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   239
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   240
# Ignore docstrings when computing similarities.
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   241
ignore-docstrings=yes
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   242
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   243
# Ignore imports when computing similarities.
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   244
ignore-imports=no
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   245
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   246
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   247
[SPELLING]
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   248
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   249
# Spelling dictionary name. Available dictionaries: none. To make it working
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   250
# install python-enchant package.
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   251
spelling-dict=
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   252
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   253
# List of comma separated words that should not be checked.
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   254
spelling-ignore-words=
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   255
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   256
# A path to a file that contains private dictionary; one word per line.
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   257
spelling-private-dict-file=
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   258
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   259
# Tells whether to store unknown words to indicated private dictionary in
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   260
# --spelling-private-dict-file option instead of raising a message.
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   261
spelling-store-unknown-words=no
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   262
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   263
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   264
[TYPECHECK]
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   265
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   266
# Tells whether missing members accessed in mixin class should be ignored. A
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   267
# mixin class is detected if its name ends with "mixin" (case insensitive).
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   268
ignore-mixin-members=yes
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   269
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   270
# List of module names for which member attributes should not be checked
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   271
# (useful for modules/projects where namespaces are manipulated during runtime
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   272
# and thus existing member attributes cannot be deduced by static analysis
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   273
ignored-modules=
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   274
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   275
# List of classes names for which member attributes should not be checked
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   276
# (useful for classes with attributes dynamically set).
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   277
ignored-classes=SQLObject
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   278
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   279
# When zope mode is activated, add a predefined set of Zope acquired attributes
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   280
# to generated-members.
1466
f1c220ead0d7 add grammar control for polemic widget in metadataplayer. Created new version of embed code, upgrade metadataplayer
ymh <ymh.work@gmail.com>
parents: 1458
diff changeset
   281
#zope=no
1458
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   282
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   283
# List of members which are set dynamically and missed by pylint inference
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   284
# system, and so shouldn't trigger E0201 when accessed. Python regular
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   285
# expressions are accepted.
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   286
generated-members=REQUEST,acl_users,aq_parent,objects
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   287
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   288
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   289
[VARIABLES]
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   290
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   291
# Tells whether we should check for unused import in __init__ files.
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   292
init-import=no
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   293
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   294
# A regular expression matching the name of dummy variables (i.e. expectedly
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   295
# not used).
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   296
dummy-variables-rgx=_$|dummy
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   297
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   298
# List of additional names supposed to be defined in builtins. Remember that
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   299
# you should avoid to define new builtins when possible.
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   300
additional-builtins=
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   301
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   302
# List of strings which can identify a callback function by name. A callback
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   303
# name must start or end with one of those strings.
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   304
callbacks=cb_,_cb
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   305
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   306
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   307
[CLASSES]
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   308
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   309
# List of interface methods to ignore, separated by a comma. This is used for
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   310
# instance to not check methods defines in Zope's Interface base class.
1466
f1c220ead0d7 add grammar control for polemic widget in metadataplayer. Created new version of embed code, upgrade metadataplayer
ymh <ymh.work@gmail.com>
parents: 1458
diff changeset
   311
#ignore-iface-methods=isImplementedBy,deferred,extends,names,namesAndDescriptions,queryDescriptionFor,getBases,getDescriptionFor,getDoc,getName,getTaggedValue,getTaggedValueTags,isEqualOrExtendedBy,setTaggedValue,isImplementedByInstancesOf,adaptWith,is_implemented_by
1458
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   312
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   313
# List of method names used to declare (i.e. assign) instance attributes.
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   314
defining-attr-methods=__init__,__new__,setUp
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   315
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   316
# List of valid names for the first argument in a class method.
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   317
valid-classmethod-first-arg=cls
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   318
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   319
# List of valid names for the first argument in a metaclass class method.
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   320
valid-metaclass-classmethod-first-arg=mcs
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   321
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   322
# List of member names, which should be excluded from the protected access
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   323
# warning.
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   324
exclude-protected=_asdict,_fields,_replace,_source,_make
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   325
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   326
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   327
[DESIGN]
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   328
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   329
# Maximum number of arguments for function / method
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   330
max-args=5
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   331
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   332
# Argument names that match this expression will be ignored. Default to name
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   333
# with leading underscore
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   334
ignored-argument-names=_.*
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   335
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   336
# Maximum number of locals for function / method body
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   337
max-locals=15
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   338
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   339
# Maximum number of return / yield for function / method body
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   340
max-returns=6
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   341
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   342
# Maximum number of branch for function / method body
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   343
max-branches=12
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   344
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   345
# Maximum number of statements in function / method body
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   346
max-statements=50
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   347
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   348
# Maximum number of parents for a class (see R0901).
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   349
max-parents=7
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   350
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   351
# Maximum number of attributes for a class (see R0902).
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   352
max-attributes=7
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   353
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   354
# Minimum number of public methods for a class (see R0903).
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   355
min-public-methods=2
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   356
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   357
# Maximum number of public methods for a class (see R0904).
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   358
max-public-methods=20
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   359
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   360
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   361
[IMPORTS]
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   362
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   363
# Deprecated modules which should not be used, separated by a comma
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   364
deprecated-modules=stringprep,optparse
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   365
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   366
# Create a graph of every (i.e. internal and external) dependencies in the
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   367
# given file (report RP0402 must not be disabled)
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   368
import-graph=
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   369
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   370
# Create a graph of external dependencies in the given file (report RP0402 must
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   371
# not be disabled)
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   372
ext-import-graph=
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   373
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   374
# Create a graph of internal dependencies in the given file (report RP0402 must
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   375
# not be disabled)
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   376
int-import-graph=
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   377
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   378
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   379
[EXCEPTIONS]
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   380
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   381
# Exceptions that will emit a warning when being caught. Defaults to
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   382
# "Exception"
fe2ec4cb6183 add command to merge projects.
ymh <ymh.work@gmail.com>
parents:
diff changeset
   383
overgeneral-exceptions=Exception