Skip to content
Snippets Groups Projects
Select Git revision
  • c642abca071d2ae464e0ed20970e098432fafa3d
  • main default protected
  • feature/export-filtering
  • feature/clear-schedule-button
  • fix/responsive-cols-in-polls
  • feature/preference-polling-form
  • feature/json-export-via-rest-framework
  • feature/json-schedule-import-tests
  • fix/add-room-import-only-once
  • ak-import
  • renovate/django-simple-history-3.x
  • renovate/django-debug-toolbar-4.x
  • renovate/django-5.x
  • renovate/mysqlclient-2.x
14 results

pylintrc

Blame
  • Forked from KIF / AKPlanning
    Source project has a limited visibility.
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    pylintrc 1.73 KiB
    [MAIN]
    
    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
    
    indent-string='    '
    
    
    
    [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]+)|((tags_)*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,_
    
    # Allow single-letter variables and enforce lowercase variables with underscores otherwise
    variable-rgx=[a-z_][a-z0-9_]{0,30}$
    
    
    [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
    
    
    [DESIGN]
    
    max-parents=15