github.com/grumpyhome/grumpy@v0.3.1-0.20201208125205-7b775405bdf1/.pylintrc (about)

     1  [BASIC]
     2  argument-rgx=^[a-z][a-z0-9_]*$
     3  attr-rgx=^_{0,2}[a-z][a-z0-9_]*$
     4  const-rgx=^(_?[A-Z][A-Z0-9_]*|__[a-z0-9_]+__|_?[a-z][a-z0-9_]*)$
     5  docstring-min-length=10
     6  function-rgx=^(?:(?P<camel_case>_?[A-Z][a-zA-Z0-9]*)|(?P<snake_case>_?[a-z][a-z0-9_]*))$
     7  good-names=main,_
     8  method-rgx=^(?:(?P<exempt>__[a-z0-9_]+__|next|test[A-Z_][A-Za-z0-9_]*)|(?P<camel_case>_{0,2}[A-Z][a-zA-Z0-9]*)|(?P<snake_case>_{0,2}[a-z][a-z0-9_]*))$
     9  no-docstring-rgx=(__.*__|main|test[A-Z_][A-Za-z0-9_]*|[A-Z][A-Za-z0-9]*Test)
    10  variable-rgx=^[a-z][a-z0-9_]*$
    11  
    12  [FORMAT]
    13  indent-string='  '
    14  max-line-length=80
    15  
    16  [MESSAGES CONTROL]
    17  # TODO: Remove cyclic-import once expr_visitor.py -> stmt.py is resolved.
    18  disable=design,similarities,no-self-use,attribute-defined-outside-init,locally-disabled,star-args,pointless-except,bad-option-value,global-statement,fixme,suppressed-message,useless-suppression,locally-enabled,file-ignored,cyclic-import
    19  
    20  [REPORTS]
    21  msg-template={path}:{line}: {msg} ({symbol})
    22  reports=no
    23  
    24  [TYPECHECK]
    25  # AST classes have dynamic members. Writer does not but for some reason pylint
    26  # barfs on some of its members.
    27  ignored-classes=pythonparser.ast.Module,grumpy.compiler.util.Writer