| xf.li | bdd93d5 | 2023-05-12 07:10:14 -0700 | [diff] [blame] | 1 | [MASTER] | 
 | 2 |  | 
 | 3 | # Specify a configuration file. | 
 | 4 | #rcfile= | 
 | 5 |  | 
 | 6 | # Python code to execute, usually for sys.path manipulation such as | 
 | 7 | # pygtk.require(). | 
 | 8 | #init-hook= | 
 | 9 |  | 
 | 10 | # Profiled execution. | 
 | 11 | profile=no | 
 | 12 |  | 
 | 13 | # Add files or directories to the blacklist. They should be base names, not | 
 | 14 | # paths. | 
 | 15 | ignore=CVS | 
 | 16 |  | 
 | 17 | # Pickle collected data for later comparisons. | 
 | 18 | persistent=yes | 
 | 19 |  | 
 | 20 | # List of plugins (as comma separated values of python modules names) to load, | 
 | 21 | # usually to register additional checkers. | 
 | 22 | load-plugins= | 
 | 23 |  | 
 | 24 |  | 
 | 25 | [MESSAGES CONTROL] | 
 | 26 |  | 
 | 27 | # Enable the message, report, category or checker with the given id(s). You can | 
 | 28 | # either give multiple identifier separated by comma (,) or put this option | 
 | 29 | # multiple time. See also the "--disable" option for examples. | 
 | 30 | #enable= | 
 | 31 |  | 
 | 32 | # Disable the message, report, category or checker with the given id(s). You | 
 | 33 | # can either give multiple identifiers separated by comma (,) or put this | 
 | 34 | # option multiple times (only on the command line, not in the configuration | 
 | 35 | # file where it should appear only once).You can also use "--disable=all" to | 
 | 36 | # disable everything first and then reenable specific checks. For example, if | 
 | 37 | # you want to run only the similarities checker, you can use "--disable=all | 
 | 38 | # --enable=similarities". If you want to run only the classes checker, but have | 
 | 39 | # no Warning level messages displayed, use"--disable=all --enable=classes | 
 | 40 | # --disable=W" | 
 | 41 | #disable= | 
 | 42 |  | 
 | 43 |  | 
 | 44 | [REPORTS] | 
 | 45 |  | 
 | 46 | # Set the output format. Available formats are text, parseable, colorized, msvs | 
 | 47 | # (visual studio) and html. You can also give a reporter class, eg | 
 | 48 | # mypackage.mymodule.MyReporterClass. | 
 | 49 | output-format=text | 
 | 50 |  | 
 | 51 | # Put messages in a separate file for each module / package specified on the | 
 | 52 | # command line instead of printing them on stdout. Reports (if any) will be | 
 | 53 | # written in a file name "pylint_global.[txt|html]". | 
 | 54 | files-output=no | 
 | 55 |  | 
 | 56 | # Tells whether to display a full report or only the messages | 
 | 57 | reports=no | 
 | 58 |  | 
 | 59 | # Python expression which should return a note less than 10 (10 is the highest | 
 | 60 | # note). You have access to the variables errors warning, statement which | 
 | 61 | # respectively contain the number of errors / warnings messages and the total | 
 | 62 | # number of statements analyzed. This is used by the global evaluation report | 
 | 63 | # (RP0004). | 
 | 64 | evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10) | 
 | 65 |  | 
 | 66 | # Add a comment according to your evaluation note. This is used by the global | 
 | 67 | # evaluation report (RP0004). | 
 | 68 | comment=no | 
 | 69 |  | 
 | 70 | # Template used to display messages. This is a python new-style format string | 
 | 71 | # used to format the massage information. See doc for all details | 
 | 72 | #msg-template= | 
 | 73 |  | 
 | 74 |  | 
 | 75 | [MISCELLANEOUS] | 
 | 76 |  | 
 | 77 | # List of note tags to take in consideration, separated by a comma. | 
 | 78 | notes=FIXME,XXX,TODO | 
 | 79 |  | 
 | 80 |  | 
 | 81 | [SIMILARITIES] | 
 | 82 |  | 
 | 83 | # Minimum lines number of a similarity. | 
 | 84 | min-similarity-lines=4 | 
 | 85 |  | 
 | 86 | # Ignore comments when computing similarities. | 
 | 87 | ignore-comments=yes | 
 | 88 |  | 
 | 89 | # Ignore docstrings when computing similarities. | 
 | 90 | ignore-docstrings=yes | 
 | 91 |  | 
 | 92 | # Ignore imports when computing similarities. | 
 | 93 | ignore-imports=no | 
 | 94 |  | 
 | 95 |  | 
 | 96 | [BASIC] | 
 | 97 |  | 
 | 98 | # Required attributes for module, separated by a comma | 
 | 99 | required-attributes= | 
 | 100 |  | 
 | 101 | # List of builtins function names that should not be used, separated by a comma | 
 | 102 | bad-functions=map,filter,apply,input | 
 | 103 |  | 
 | 104 | # Regular expression which should only match correct module names | 
 | 105 | module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$ | 
 | 106 |  | 
 | 107 | # Regular expression which should only match correct module level names | 
 | 108 | const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__))$ | 
 | 109 |  | 
 | 110 | # Regular expression which should only match correct class names | 
 | 111 | class-rgx=[A-Z_][a-zA-Z0-9]+$ | 
 | 112 |  | 
 | 113 | # Regular expression which should only match correct function names | 
 | 114 | function-rgx=[a-z_][a-z0-9_]{2,30}$ | 
 | 115 |  | 
 | 116 | # Regular expression which should only match correct method names | 
 | 117 | method-rgx=[a-z_][a-z0-9_]{2,30}$ | 
 | 118 |  | 
 | 119 | # Regular expression which should only match correct instance attribute names | 
 | 120 | attr-rgx=[a-z_][a-z0-9_]{2,30}$ | 
 | 121 |  | 
 | 122 | # Regular expression which should only match correct argument names | 
 | 123 | argument-rgx=[a-z_][a-z0-9_]{2,30}$ | 
 | 124 |  | 
 | 125 | # Regular expression which should only match correct variable names | 
 | 126 | variable-rgx=[a-z_][a-z0-9_]{2,30}$ | 
 | 127 |  | 
 | 128 | # Regular expression which should only match correct attribute names in class | 
 | 129 | # bodies | 
 | 130 | class-attribute-rgx=([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$ | 
 | 131 |  | 
 | 132 | # Regular expression which should only match correct list comprehension / | 
 | 133 | # generator expression variable names | 
 | 134 | inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$ | 
 | 135 |  | 
 | 136 | # Good variable names which should always be accepted, separated by a comma | 
 | 137 | # f is a useful name for a file descriptor | 
 | 138 | good-names=f,i,j,k,ex,Run,_ | 
 | 139 |  | 
 | 140 | # Bad variable names which should always be refused, separated by a comma | 
 | 141 | bad-names=foo,bar,baz,toto,tutu,tata | 
 | 142 |  | 
 | 143 | # Regular expression which should only match function or class names that do | 
 | 144 | # not require a docstring. | 
 | 145 | no-docstring-rgx=__.*__ | 
 | 146 |  | 
 | 147 | # Minimum line length for functions/classes that require docstrings, shorter | 
 | 148 | # ones are exempt. | 
 | 149 | docstring-min-length=-1 | 
 | 150 |  | 
 | 151 |  | 
 | 152 | [VARIABLES] | 
 | 153 |  | 
 | 154 | # Tells whether we should check for unused import in __init__ files. | 
 | 155 | init-import=no | 
 | 156 |  | 
 | 157 | # A regular expression matching the beginning of the name of dummy variables | 
 | 158 | # (i.e. not used). | 
 | 159 | dummy-variables-rgx=_$|dummy | 
 | 160 |  | 
 | 161 | # List of additional names supposed to be defined in builtins. Remember that | 
 | 162 | # you should avoid to define new builtins when possible. | 
 | 163 | additional-builtins= | 
 | 164 |  | 
 | 165 |  | 
 | 166 | [FORMAT] | 
 | 167 |  | 
 | 168 | # Maximum number of characters on a single line. | 
 | 169 | max-line-length=79 | 
 | 170 |  | 
 | 171 | # Regexp for a line that is allowed to be longer than the limit. | 
 | 172 | ignore-long-lines=^\s*(# )?<?https?://\S+>?$ | 
 | 173 |  | 
 | 174 | # Maximum number of lines in a module | 
 | 175 | max-module-lines=1000 | 
 | 176 |  | 
 | 177 | # String used as indentation unit. This is usually " " (4 spaces) or "\t" (1 | 
 | 178 | # tab). | 
 | 179 | indent-string='    ' | 
 | 180 |  | 
 | 181 |  | 
 | 182 | [TYPECHECK] | 
 | 183 |  | 
 | 184 | # Tells whether missing members accessed in mixin class should be ignored. A | 
 | 185 | # mixin class is detected if its name ends with "mixin" (case insensitive). | 
 | 186 | ignore-mixin-members=yes | 
 | 187 |  | 
 | 188 | # List of classes names for which member attributes should not be checked | 
 | 189 | # (useful for classes with attributes dynamically set). | 
 | 190 | ignored-classes=SQLObject | 
 | 191 |  | 
 | 192 | # When zope mode is activated, add a predefined set of Zope acquired attributes | 
 | 193 | # to generated-members. | 
 | 194 | zope=no | 
 | 195 |  | 
 | 196 | # List of members which are set dynamically and missed by pylint inference | 
 | 197 | # system, and so shouldn't trigger E0201 when accessed. Python regular | 
 | 198 | # expressions are accepted. | 
 | 199 | generated-members=REQUEST,acl_users,aq_parent | 
 | 200 |  | 
 | 201 |  | 
 | 202 | [CLASSES] | 
 | 203 |  | 
 | 204 | # List of interface methods to ignore, separated by a comma. This is used for | 
 | 205 | # instance to not check methods defines in Zope's Interface base class. | 
 | 206 | ignore-iface-methods=isImplementedBy,deferred,extends,names,namesAndDescriptions,queryDescriptionFor,getBases,getDescriptionFor,getDoc,getName,getTaggedValue,getTaggedValueTags,isEqualOrExtendedBy,setTaggedValue,isImplementedByInstancesOf,adaptWith,is_implemented_by | 
 | 207 |  | 
 | 208 | # List of method names used to declare (i.e. assign) instance attributes. | 
 | 209 | defining-attr-methods=__init__,__new__,setUp | 
 | 210 |  | 
 | 211 | # List of valid names for the first argument in a class method. | 
 | 212 | valid-classmethod-first-arg=cls | 
 | 213 |  | 
 | 214 | # List of valid names for the first argument in a metaclass class method. | 
 | 215 | valid-metaclass-classmethod-first-arg=mcs | 
 | 216 |  | 
 | 217 |  | 
 | 218 | [IMPORTS] | 
 | 219 |  | 
 | 220 | # Deprecated modules which should not be used, separated by a comma | 
 | 221 | deprecated-modules=regsub,TERMIOS,Bastion,rexec | 
 | 222 |  | 
 | 223 | # Create a graph of every (i.e. internal and external) dependencies in the | 
 | 224 | # given file (report RP0402 must not be disabled) | 
 | 225 | import-graph= | 
 | 226 |  | 
 | 227 | # Create a graph of external dependencies in the given file (report RP0402 must | 
 | 228 | # not be disabled) | 
 | 229 | ext-import-graph= | 
 | 230 |  | 
 | 231 | # Create a graph of internal dependencies in the given file (report RP0402 must | 
 | 232 | # not be disabled) | 
 | 233 | int-import-graph= | 
 | 234 |  | 
 | 235 |  | 
 | 236 | [DESIGN] | 
 | 237 |  | 
 | 238 | # Maximum number of arguments for function / method | 
 | 239 | max-args=5 | 
 | 240 |  | 
 | 241 | # Argument names that match this expression will be ignored. Default to name | 
 | 242 | # with leading underscore | 
 | 243 | ignored-argument-names=_.* | 
 | 244 |  | 
 | 245 | # Maximum number of locals for function / method body | 
 | 246 | max-locals=15 | 
 | 247 |  | 
 | 248 | # Maximum number of return / yield for function / method body | 
 | 249 | max-returns=6 | 
 | 250 |  | 
 | 251 | # Maximum number of branch for function / method body | 
 | 252 | max-branches=12 | 
 | 253 |  | 
 | 254 | # Maximum number of statements in function / method body | 
 | 255 | max-statements=50 | 
 | 256 |  | 
 | 257 | # Maximum number of parents for a class (see R0901). | 
 | 258 | max-parents=7 | 
 | 259 |  | 
 | 260 | # Maximum number of attributes for a class (see R0902). | 
 | 261 | max-attributes=7 | 
 | 262 |  | 
 | 263 | # Minimum number of public methods for a class (see R0903). | 
 | 264 | min-public-methods=2 | 
 | 265 |  | 
 | 266 | # Maximum number of public methods for a class (see R0904). | 
 | 267 | max-public-methods=20 | 
 | 268 |  | 
 | 269 |  | 
 | 270 | [EXCEPTIONS] | 
 | 271 |  | 
 | 272 | # Exceptions that will emit a warning when being caught. Defaults to | 
 | 273 | # "Exception" | 
 | 274 | overgeneral-exceptions=Exception |