Skip to content
Snippets Groups Projects
Commit d2ec1175 authored by Benjamin Hättasch's avatar Benjamin Hättasch
Browse files

Further improve linting settings

parent b0a5dcc7
No related tags found
No related merge requests found
[MAIN] [MAIN]
ignore=tests.py, urls.py, migrations
ignore=migrations,static
load-plugins= load-plugins=
pylint_django pylint_django,
pylint_django.checkers.migrations pylint_django.checkers.migrations
django-settings-module=AKPlanning.settings
[FORMAT] [FORMAT]
# Maximum number of characters on a single line. # Maximum number of characters on a single line.
max-line-length=120 max-line-length=120
indent-string=' '
[SIMILARITIES] [SIMILARITIES]
...@@ -38,3 +42,20 @@ module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+)|(AK[A-Z][a-z0-9_]+))$ ...@@ -38,3 +42,20 @@ 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 variable names which should always be accepted, separated by a comma
good-names=i,j,k,a,e,ak,tz,_ 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment