Skip to content
Snippets Groups Projects
pylintrc 1.57 KiB
Newer Older
  • Learn to ignore specific revisions
  • ignore=tests.py, urls.py, migrations
    
    
    load-plugins=
    
        pylint_django,
    
        pylint_django.checkers.migrations
    
    django-settings-module=AKPlanning.settings
    
    
    disable=
        C0114, # missing-module-docstring
    
    
    
    [FORMAT]
    
    # Maximum number of characters on a single line.
    max-line-length=120
    
    
    
    [SIMILARITIES]
    
    # Minimum lines number of a similarity.
    min-similarity-lines=6
    
    # Ignore comments when computing similarities.
    ignore-comments=yes
    
    # Ignore docstrings when computing similarities.
    ignore-docstrings=yes
    
    # Ignore imports when computing similarities.
    ignore-imports=yes
    
    # Signatures are removed from the similarity computation
    ignore-signatures=yes
    
    
    [BASIC]
    
    # Regular expression matching correct module names
    module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+)|(AK[A-Z][a-z0-9_]+))$
    
    # Good variable names which should always be accepted, separated by a comma
    good-names=i,j,k,a,e,ak,tz,_
    
    
    [TYPECHECK]
    
    # Tells whether missing members accessed in mixin class should be ignored. A
    # mixin class is detected if its name ends with "mixin" (case insensitive).
    ignore-mixin-members=yes
    
    # List of classes names for which member attributes should not be checked
    # (useful for classes with attributes dynamically set).
    ignored-classes=SQLObject,WSGIRequest
    
    # List of members which are set dynamically and missed by pylint inference
    # system, and so shouldn't trigger E0201 when accessed.
    generated-members=objects,DoesNotExist,id,pk,_meta,base_fields,context
    
    # List of method names used to declare (i.e. assign) instance attributes
    defining-attr-methods=__init__,__new__,setUp