Executing section Python...

src/utils/html_cleaner.py
|   7| #·TODO:·Nach·BeatutifulSoup·4·convertieren
|    | [NORMAL] PyLintBear (W0511):
|    | W0511 - TODO: Nach BeatutifulSoup 4 convertieren
|    | [NORMAL] PEP8Bear:
|    | The code does not comply to PEP8.
|----|    | /srv/home/xeniac/Workspace/kasu/src/content/feeds.py
|    |++++| /srv/home/xeniac/Workspace/kasu/src/content/feeds.py
|   7|   7|
|   8|   8| from content.models import Article
|   9|   9|
|  10|    |-MAX_ARTICLE_ITEMS = 10 # Maximum count of articles in the news RSS feed.
|  11|    |-MAX_COMMENT_ITEMS = 40 # Maximum count of comments in the comments RSS feed.
|    |  10|+MAX_ARTICLE_ITEMS = 10  # Maximum count of articles in the news RSS feed.
|    |  11|+MAX_COMMENT_ITEMS = 40  # Maximum count of comments in the comments RSS feed.
|  12|  12|
|  13|  13|
|  14|  14| # Start ignoring PyLintBear (R0201)
|    | [NORMAL] PEP8Bear:
|    | The code does not comply to PEP8.
|----|    | /srv/home/xeniac/Workspace/kasu/src/membership/forms.py
|    |++++| /srv/home/xeniac/Workspace/kasu/src/membership/forms.py
| 122| 122|     def save(self, commit=True):
| 123| 123|         """ Create the new User, set him/her inactive, create an acitivation
| 124| 124|         request for the user and send him/her an activation email.
| 125|    |-
|    | 125|+
| 126| 126|         :param commit: commit the SQL and send the email if True
| 127| 127|         :return: the created User Object
| 128| 128|         """

src/membership/forms.py
|  92| ··················)
|    | [INFO] PyLintBear (C0330):
|    | C0330 - Wrong continued indentation (remove 1 space).

src/membership/forms.py
| 125| ········
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/maistar_ranking/views.py
|  17| class·GameForm(EventDetailMixin,·PermissionRequiredMixin,·generic.UpdateView):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing class docstring

src/maistar_ranking/views.py
|  77| class·ListPlayerGames(PlayerScore):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing class docstring

src/maistar_ranking/views.py
|  90| ····def·get_queryset(self,·**kwargs):
|    | [NORMAL] PyLintBear (W0221):
|    | W0221 - Parameters differ from overridden 'get_queryset' method

src/maistar_ranking/views.py
|  90| ····def·get_queryset(self,·**kwargs):
|    | [NORMAL] PyLintBear (W0613):
|    | W0613 - Unused argument 'kwargs'

src/maistar_ranking/views.py
|  93| ········self.season·=·self.kwargs.get('season',·date.today().year)
|    | [NORMAL] PyLintBear (W0201):
|    | W0201 - Attribute 'season' defined outside __init__

src/maistar_ranking/views.py
|  91| ········self.user·=·get_object_or_404(auth.get_user_model(),
|    | [NORMAL] PyLintBear (W0201):
|    | W0201 - Attribute 'user' defined outside __init__

src/maistar_ranking/views.py
|  98| class·ListRankings(generic.ListView):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing class docstring

src/maistar_ranking/views.py
|  12| from·django.contrib.auth.mixins·import·PermissionRequiredMixin
|    | [INFO] PyLintBear (C0412):
|    | C0412 - Imports from package django are not grouped

src/mahjong_ranking/__init__.py
|   1| #·-*-·encoding:·utf-8·-*-
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing module docstring

src/mahjong_ranking/__init__.py
|  32| logger·=·logging.getLogger('kasu.mahjong_ranking')
|    | [INFO] PyLintBear (C0103):
|    | C0103 - Invalid constant name "logger"

src/mahjong_ranking/__init__.py
|  35| def·set_dirty(event=None,·season=None,·user=None,·hanchan_date=None):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing function docstring

src/mahjong_ranking/__init__.py
|   3| import·logging
|    | [INFO] PyLintBear (C0411):
|    | C0411 - standard import "import logging" should be placed before "from django.core.cache import cache"

src/kasu/urls.py
|  17| sitemaps·=·{··#·Ignore·PyLintBear·(C0103)
|    | [INFO] PyLintBear (C0103):
|    | C0103 - Invalid constant name "sitemaps"
|    | [NORMAL] PEP8Bear:
|    | The code does not comply to PEP8.
|----|    | /srv/home/xeniac/Workspace/kasu/src/maistar_ranking/__init__.py
|    |++++| /srv/home/xeniac/Workspace/kasu/src/maistar_ranking/__init__.py
|   1|    |-"""A simple ladder ranking system for the game mai-star."""
|    |   1|+"""A simple ladder ranking system for the game mai-star."""

src/maistar_ranking/__init__.py
|   1| """A·simple·ladder·ranking·system·for·the·game·mai-star."""
|    | [INFO] PyLintBear (C0304):
|    | C0304 - Final newline missing

src/utils/middleware.py
|   9| ····#·TODO:·Port·to·django·1.10·and·upward
|    | [NORMAL] PyLintBear (W0511):
|    | W0511 - TODO: Port to django 1.10 and upward

src/utils/middleware.py
|   7| ····"""This·Middleware·compresses·strips·the·spaces·between·tags,·and·at·the·
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/utils/middleware.py
|  14| ········:param·get_response:·
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/utils/middleware.py
|  22| ········:param·request:·
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/utils/middleware.py
|  23| ········:return:·
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/utils/middleware.py
|  17| ········regex·=·">[\s]*<"
|    | [NORMAL] PyLintBear (W1401):
|    | W1401 - Anomalous backslash in string: '\s'. String constant might be missing an r prefix.

src/utils/middleware.py
|  17| ········regex·=·">[\s]*<"
|    | [NORMAL] PyLintBear (W0612):
|    | W0612 - Unused variable 'regex'
|    | [NORMAL] PEP8Bear:
|    | The code does not comply to PEP8.
|----|    | /srv/home/xeniac/Workspace/kasu/src/mahjong_ranking/managers.py
|    |++++| /srv/home/xeniac/Workspace/kasu/src/mahjong_ranking/managers.py
|   7|   7| class HanchanManager(models.Manager):
|   8|   8|     """
|   9|   9|     The ObjectManager for models.Hanchan QuerySets.
|  10|    |-
|    |  10|+
|  11|  11|     It adds many specific filters that makes many queries much easier.
|  12|  12|     """
|  13|  13|     use_for_related_fields = True
|    | [NORMAL] PEP8Bear:
|    | The code does not comply to PEP8.
|----|    | /srv/home/xeniac/Workspace/kasu/src/mahjong_ranking/managers.py
|    |++++| /srv/home/xeniac/Workspace/kasu/src/mahjong_ranking/managers.py
|  14|  14|
|  15|  15|     def confirmed_hanchans(self, user=None, **filter_args):
|  16|  16|         """ Return all valid and confirmed Hanchans.
|  17|    |-
|    |  17|+
|  18|  18|         :param user: Only return Hanchans where this user participated.
|  19|  19|         :param filter_args: To add specific arguments to the Django filter.
|  20|  20|         :return: QuerySet Object
|    | [NORMAL] PEP8Bear:
|    | The code does not comply to PEP8.
|----|    | /srv/home/xeniac/Workspace/kasu/src/mahjong_ranking/managers.py
|    |++++| /srv/home/xeniac/Workspace/kasu/src/mahjong_ranking/managers.py
|  39|  39|             models.Q(player4=user, player4_dan_points__isnull=False)
|  40|  40|         ).filter(confirmed=True, **filter_args)
|  41|  41|         queryset = queryset.select_related().order_by('-start')
|  42|    |-        [ hanchan.get_playerdata(user) for hanchan in queryset ]
|    |  42|+        [hanchan.get_playerdata(user) for hanchan in queryset]
|  43|  43|         return queryset
|  44|  44|
|  45|  45|     def kyu_hanchans(self, user, **filter_args):
|    | [NORMAL] PEP8Bear:
|    | The code does not comply to PEP8.
|----|    | /srv/home/xeniac/Workspace/kasu/src/mahjong_ranking/managers.py
|    |++++| /srv/home/xeniac/Workspace/kasu/src/mahjong_ranking/managers.py
|  57|  57|             models.Q(player4=user, player4_kyu_points__isnull=False)
|  58|  58|         ).filter(confirmed=True, **filter_args)
|  59|  59|         queryset = queryset.select_related().order_by('-start')
|  60|    |-        [ hanchan.get_playerdata(user) for hanchan in queryset ]
|    |  60|+        [hanchan.get_playerdata(user) for hanchan in queryset]
|  61|  61|         return queryset
|  62|  62|
|  63|  63|     def season_hanchans(self, user=None, season=None):
|    | [NORMAL] PEP8Bear:
|    | The code does not comply to PEP8.
|----|    | /srv/home/xeniac/Workspace/kasu/src/mahjong_ranking/managers.py
|    |++++| /srv/home/xeniac/Workspace/kasu/src/mahjong_ranking/managers.py
|  87|  87|         else:
|  88|  88|             queryset = queryset.filter(**filter_args)
|  89|  89|         queryset = queryset.select_related().order_by('-start')
|  90|    |-        [ hanchan.get_playerdata(user) for hanchan in queryset ]
|    |  90|+        [hanchan.get_playerdata(user) for hanchan in queryset]
|  91|  91|         return queryset
|  92|  92|
|  93|  93|     def unconfirmed_hanchans(self, user=None, **filter_args):

src/mahjong_ranking/managers.py
|   9| ····The·ObjectManager·for·models.Hanchan·QuerySets.·
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/mahjong_ranking/managers.py
|  10| ····
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/mahjong_ranking/managers.py
|  16| ········"""·Return·all·valid·and·confirmed·Hanchans.·
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/mahjong_ranking/managers.py
|  17| ········
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/mahjong_ranking/managers.py
|  18| ········:param·user:·Only·return·Hanchans·where·this·user·participated.··
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/mahjong_ranking/managers.py
|  28| ········"""·Return·all·Hanchans·where·a·specific·user·has·participated·and·had·
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/mahjong_ranking/managers.py
|  31| ········:param·user:·Only·return·Hanchans·where·this·user·participated.··
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/mahjong_ranking/managers.py
|  42| ········[·hanchan.get_playerdata(user)·for·hanchan·in·queryset·]
|    | [INFO] PyLintBear (C0326):
|    | C0326 - No space allowed after bracket

src/mahjong_ranking/managers.py
|  42| ········[·hanchan.get_playerdata(user)·for·hanchan·in·queryset·]
|    | [INFO] PyLintBear (C0326):
|    | C0326 - No space allowed before bracket

src/mahjong_ranking/managers.py
|  46| ········"""·Return·all·Hanchans·where·a·specific·user·has·participated·and·had·
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/mahjong_ranking/managers.py
|  49| ········:param·user:·Only·return·Hanchans·where·this·user·participated.··
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/mahjong_ranking/managers.py
|  60| ········[·hanchan.get_playerdata(user)·for·hanchan·in·queryset·]
|    | [INFO] PyLintBear (C0326):
|    | C0326 - No space allowed after bracket

src/mahjong_ranking/managers.py
|  60| ········[·hanchan.get_playerdata(user)·for·hanchan·in·queryset·]
|    | [INFO] PyLintBear (C0326):
|    | C0326 - No space allowed before bracket

src/mahjong_ranking/managers.py
|  66| ········:param·user:·Only·return·Hanchans·where·this·user·participated.··
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/mahjong_ranking/managers.py
|  67| ········:param·season:·the·year·of·the·wanted·season,·current·year·if·None.·
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/mahjong_ranking/managers.py
|  68| ········:return:·QuerySet·Object·
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/mahjong_ranking/managers.py
|  74| ········"""Return·all·Hanchans·where·a·specific·user·has·participated.·
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/mahjong_ranking/managers.py
|  76| ········:param·user:·Return·Hanchans·where·this·user·participated.··
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/mahjong_ranking/managers.py
|  90| ········[·hanchan.get_playerdata(user)·for·hanchan·in·queryset·]
|    | [INFO] PyLintBear (C0326):
|    | C0326 - No space allowed after bracket

src/mahjong_ranking/managers.py
|  90| ········[·hanchan.get_playerdata(user)·for·hanchan·in·queryset·]
|    | [INFO] PyLintBear (C0326):
|    | C0326 - No space allowed before bracket

src/mahjong_ranking/managers.py
|  94| ········"""·Return·all·Hanchans·that·have·been·set·to·unconfirmed.·
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/mahjong_ranking/managers.py
|  96| ········:param·user:·Only·return·Hanchans·where·this·user·participated.··
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/mahjong_ranking/managers.py
| 108| ····The·ObjectManager·for·models.SeasonRanking·QuerySets·to·handle·the·
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/mahjong_ranking/managers.py
| 109| ····Ladderrankings.·
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/mahjong_ranking/managers.py
| 115| ········"""·Returns·the·Rankings·for·the·current·year/season.·
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/mahjong_ranking/managers.py
| 136| ········:param·season:·Season·that·should·be·exported,·current·season·if·empty·
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/mahjong_ranking/managers.py
| 137| ········:return:·a·list()·of·dict()·objects·suiteable·for·JSON·export.·
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/mahjong_ranking/managers.py
|  22| ········if·user:
|    | [INFO] PyLintBear (R1705):
|    | R1705 - Unnecessary "else" after "return"

src/mahjong_ranking/managers.py
|  42| ········[·hanchan.get_playerdata(user)·for·hanchan·in·queryset·]
|    | [NORMAL] PyLintBear (W0106):
|    | W0106 - Expression "[hanchan.get_playerdata(user) for hanchan in queryset]" is assigned to nothing

src/mahjong_ranking/managers.py
|  60| ········[·hanchan.get_playerdata(user)·for·hanchan·in·queryset·]
|    | [NORMAL] PyLintBear (W0106):
|    | W0106 - Expression "[hanchan.get_playerdata(user) for hanchan in queryset]" is assigned to nothing

src/mahjong_ranking/managers.py
|  90| ········[·hanchan.get_playerdata(user)·for·hanchan·in·queryset·]
|    | [NORMAL] PyLintBear (W0106):
|    | W0106 - Expression "[hanchan.get_playerdata(user) for hanchan in queryset]" is assigned to nothing

src/mahjong_ranking/managers.py
| 100| ········if·user:
|    | [INFO] PyLintBear (R1705):
|    | R1705 - Unnecessary "else" after "return"

src/membership/views.py
| 117| ········:return:·array·with·the·context·data·
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/membership/views.py
| 142| ········"""Overwrite·to·add·googles·recaptcha·ressoruces·to·the·
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/membership/views.py
| 144| ········:param·request:·
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/membership/views.py
| 145| ········:param·args:·
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/membership/views.py
| 146| ········:param·kwargs:·
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/membership/views.py
|  80| ········if·self.request.user.has_perm('membership.change_membership'):
|    | [INFO] PyLintBear (R1705):
|    | R1705 - Unnecessary "else" after "return"

src/content/models.py
| 332| def·force_cache_update(sender,·instance,·**kwargs):··#·Ignore·PyLintBear·(W0613)
|    | [NORMAL] PyLintBear (W0613):
|    | W0613 - Unused argument 'kwargs'
|    | [NORMAL] PEP8Bear:
|    | The code does not comply to PEP8.
|----|    | /srv/home/xeniac/Workspace/kasu/src/membership/models.py
|    |++++| /srv/home/xeniac/Workspace/kasu/src/membership/models.py
|  57|  57|         @param user: the user that requests activation.
|  58|  58|         """
|  59|  59|         salt = str(user.pk * random.random()) + \
|  60|    |-               user.registration_date.isoformat()
|    |  60|+            user.registration_date.isoformat()
|  61|  61|         activation_key = hashlib.sha1(salt.encode()).hexdigest()
|  62|  62|         return self.create(user=user, activation_key=activation_key)
|  63|  63|

src/membership/models.py
| 229| ········:param·args:·passed·through·the·save()·method·from·django··
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/membership/models.py
| 230| ········:param·kwargs:·passed·through·the·save()·method·from·django·
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/membership/models.py
| 114| ········if·self.user.is_active:
|    | [INFO] PyLintBear (R1705):
|    | R1705 - Unnecessary "else" after "return"

src/events/models.py
| 269| ········#·TODO:·Eine·vernüftigte·Methode·ohne·viele·Abhängigkeiten·finden·um
|    | [NORMAL] PyLintBear (W0511):
|    | W0511 - TODO: Eine vernüftigte Methode ohne viele Abhängigkeiten finden um

src/events/models.py
| 111| ········except:
|    | [NORMAL] PyLintBear (W0702):
|    | W0702 - No exception type(s) specified

src/events/models.py
| 120| ····def·get_absolute_url(self):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing method docstring

src/events/models.py
| 128| ····def·get_eventseries_form_url(self):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing method docstring

src/events/models.py
| 136| ····def·get_edit_url(self):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing method docstring

src/events/models.py
| 144| ····def·get_image(self):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing method docstring

src/events/models.py
| 145| ········if·self.image:
|    | [INFO] PyLintBear (R1705):
|    | R1705 - Unnecessary "else" after "return"

src/events/models.py
| 155| ····def·is_future_event(self):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing method docstring

src/events/models.py
| 158| ····def·save(self,·**kwargs):
|    | [NORMAL] PyLintBear (W0221):
|    | W0221 - Parameters differ from overridden 'save' method

src/events/models.py
| 175| class·Location(models.Model):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing class docstring

src/events/models.py
| 211| ····def·address(self):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing method docstring

src/events/models.py
| 216| class·Photo(models.Model):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing class docstring

src/events/models.py
| 268| ····def·rotate(self,·rotate):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing method docstring

src/events/models.py
| 277| ····def·save(self,·**kwargs):
|    | [NORMAL] PyLintBear (W0221):
|    | W0221 - Parameters differ from overridden 'save' method

src/events/models.py
| 281| ····def·get_absolute_url(self):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing method docstring

src/events/models.py
| 288| ····def·next_photo(self):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing method docstring

src/events/models.py
| 292| ············if·self.event.event_series:
|    | [INFO] PyLintBear (R1705):
|    | R1705 - Unnecessary "else" after "return"

src/events/models.py
| 307| ····def·previous_photo(self):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing method docstring

src/events/models.py
| 311| ············if·self.event.event_series:
|    | [INFO] PyLintBear (R1705):
|    | R1705 - Unnecessary "else" after "return"
|    | [NORMAL] PEP8Bear:
|    | The code does not comply to PEP8.
|----|    | /srv/home/xeniac/Workspace/kasu/src/kasu/wsgi.py
|    |++++| /srv/home/xeniac/Workspace/kasu/src/kasu/wsgi.py
|  14|  14| if SOURCE_PATH not in sys.path:
|  15|  15|     sys.path.append(SOURCE_PATH)
|  16|  16|
|  17|    |-from django.core.wsgi import get_wsgi_application  # Ignore PyLintBear (C0413)  # Ignore PyLintBear (C0413)
|    |  17|+# Ignore PyLintBear (C0413)  # Ignore PyLintBear (C0413)
|    |  18|+from django.core.wsgi import get_wsgi_application
|  18|  19|
|  19|  20| os.environ['DJANGO_SETTINGS_MODULE'] = 'kasu.settings'
|  20|  21|
|    | [NORMAL] PEP8Bear:
|    | The code does not comply to PEP8.
|----|    | /srv/home/xeniac/Workspace/kasu/src/kasu/wsgi.py
|    |++++| /srv/home/xeniac/Workspace/kasu/src/kasu/wsgi.py
|  18|  18|
|  19|  19| os.environ['DJANGO_SETTINGS_MODULE'] = 'kasu.settings'
|  20|  20|
|  21|    |-application = get_wsgi_application()  # Ignore PyLintBear (C0103)  # Ignore PyLintBear (C0103)
|    |  21|+# Ignore PyLintBear (C0103)  # Ignore PyLintBear (C0103)
|    |  22|+application = get_wsgi_application()

src/kasu/wsgi.py
|  17| from·django.core.wsgi·import·get_wsgi_application··#·Ignore·PyLintBear·(C0413)··#·Ignore·PyLintBear·(C0413)
|    | [INFO] PyLintBear (C0301):
|    | C0301 - Line too long (107/100)

src/kasu/wsgi.py
|  17| from·django.core.wsgi·import·get_wsgi_application··#·Ignore·PyLintBear·(C0413)··#·Ignore·PyLintBear·(C0413)
|    | [INFO] PyLintBear (C0413):
|    | C0413 - Import "from django.core.wsgi import get_wsgi_application" should be placed at the top of the module

src/kasu/wsgi.py
|  21| application·=·get_wsgi_application()··#·Ignore·PyLintBear·(C0103)··#·Ignore·PyLintBear·(C0103)
|    | [INFO] PyLintBear (C0103):
|    | C0103 - Invalid constant name "application"
|    | [NORMAL] PEP8Bear:
|    | The code does not comply to PEP8.
|----|    | /srv/home/xeniac/Workspace/kasu/src/content/views.py
|    |++++| /srv/home/xeniac/Workspace/kasu/src/content/views.py
| 197| 197|
| 198| 198|     def get_object(self, queryset=None):
| 199| 199|         """ Get the path from the URL and fetch the corresponding page.
| 200|    |-
|    | 200|+
| 201| 201|         First get the path wihout fileextentsion leading or trailing slashes,
| 202| 202|         then search in the database if such a page exists.
| 203| 203|
|    | [NORMAL] PEP8Bear:
|    | The code does not comply to PEP8.
|----|    | /srv/home/xeniac/Workspace/kasu/src/content/views.py
|    |++++| /srv/home/xeniac/Workspace/kasu/src/content/views.py
| 288| 288|
| 289| 289|     def get_context_data(self):
| 290| 290|         """ Adds recent ariticles and recent comments to the context.
| 291|    |-
|    | 291|+
| 292| 292|         :return: array() with the context data
| 293| 293|         """
| 294| 294|         page = models.Page.objects.get(slug='index')

src/content/views.py
|  17| ····Since·it·is·only·used·in·edit·forms,·it·extends·the·PermissionRequiredMixin.·····
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/content/views.py
| 163| ········:param·queryset:·Get·the·single·item·from·this·filtered·queryset.·
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/content/views.py
| 164| ········:return:·
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/content/views.py
| 173| ····"""·Renders·an·Form·to·create·a·new·page·for·users·with·conforming·
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/content/views.py
| 200| ·········
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/content/views.py
| 205| ········:return:·
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/content/views.py
| 225| ········:return:·
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/content/views.py
| 251| ········"""Get·the·PDF·page·from·the·db·that·equals·the·given·URL.·
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/content/views.py
| 254| ········:return:·models.Page·object·or·raise·a·404·if·not·found.·
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/content/views.py
| 291| ········
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/content/views.py
| 292| ········:return:·array()·with·the·context·data·
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/content/views.py
|   1| import·os
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing module docstring

src/content/views.py
| 289| ····def·get_context_data(self):
|    | [NORMAL] PyLintBear (W0221):
|    | W0221 - Parameters differ from overridden 'get_context_data' method

src/mahjong_ranking/models.py
|   3| #·TODO:·Rankings·archiv·Flag·erstellen,·womit·sie·nicht·mehr·neuberechnet
|    | [NORMAL] PyLintBear (W0511):
|    | W0511 - TODO: Rankings archiv Flag erstellen, womit sie nicht mehr neuberechnet

src/mahjong_ranking/models.py
| 394| ····#·TODO:·Komplett·Überabreiten!
|    | [NORMAL] PyLintBear (W0511):
|    | W0511 - TODO: Komplett Überabreiten!

src/mahjong_ranking/models.py
| 545| ····#·TODO:·Merkwürdige·Methode·die·zwar·funktioniert·aber·nicht·sehr
|    | [NORMAL] PyLintBear (W0511):
|    | W0511 - TODO: Merkwürdige Methode die zwar funktioniert aber nicht sehr

src/mahjong_ranking/models.py
| 222| ········elif·not·(self.event.start·<=·self.start·<=·self.event.end):
|    | [INFO] PyLintBear (C0325):
|    | C0325 - Unnecessary parens after 'not' keyword

src/mahjong_ranking/models.py
|   1| #·-*-·encoding:·utf-8·-*-
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing module docstring

src/mahjong_ranking/models.py
|  19| kyu_dan_rankings·=·set()
|    | [INFO] PyLintBear (C0103):
|    | C0103 - Invalid constant name "kyu_dan_rankings"

src/mahjong_ranking/models.py
|  20| ladder_rankings·=·set()
|    | [INFO] PyLintBear (C0103):
|    | C0103 - Invalid constant name "ladder_rankings"

src/mahjong_ranking/models.py
|  21| ladder_seasons·=·set()
|    | [INFO] PyLintBear (C0103):
|    | C0103 - Invalid constant name "ladder_seasons"

src/mahjong_ranking/models.py
|  42| ····def·get_absolute_url(self):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing method docstring

src/mahjong_ranking/models.py
|  81| class·Hanchan(models.Model):
|    | [INFO] PyLintBear (R0902):
|    | R0902 - Too many instance attributes (10/7)

src/mahjong_ranking/models.py
| 270| ····def·get_absolute_url(self):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing method docstring

src/mahjong_ranking/models.py
| 290| ····def·update_playerdata(self,·user,·**kwargs):
|    | [NORMAL] PyLintBear (W0613):
|    | W0613 - Unused argument 'kwargs'

src/mahjong_ranking/models.py
| 304| ····def·player_list(self):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing method docstring

src/mahjong_ranking/models.py
| 321| ····def·save(self,·recalculate=True,·**kwargs):
|    | [NORMAL] PyLintBear (W0221):
|    | W0221 - Parameters differ from overridden 'save' method

src/mahjong_ranking/models.py
| 283| ················self.game_score·=·getattr(self,·'%s_game_score'·%·player)
|    | [NORMAL] PyLintBear (W0201):
|    | W0201 - Attribute 'game_score' defined outside __init__

src/mahjong_ranking/models.py
| 284| ················self.placement·=·getattr(self,·'%s_placement'·%·player)
|    | [NORMAL] PyLintBear (W0201):
|    | W0201 - Attribute 'placement' defined outside __init__

src/mahjong_ranking/models.py
| 282| ················self.input_score·=·getattr(self,·'%s_input_score'·%·player)
|    | [NORMAL] PyLintBear (W0201):
|    | W0201 - Attribute 'input_score' defined outside __init__

src/mahjong_ranking/models.py
| 281| ················self.user·=·user
|    | [NORMAL] PyLintBear (W0201):
|    | W0201 - Attribute 'user' defined outside __init__

src/mahjong_ranking/models.py
| 286| ················self.dan_points·=·getattr(self,·'%s_dan_points'·%·player)
|    | [NORMAL] PyLintBear (W0201):
|    | W0201 - Attribute 'dan_points' defined outside __init__

src/mahjong_ranking/models.py
| 287| ················self.bonus_points·=·getattr(self,·'%s_bonus_points'·%·player)
|    | [NORMAL] PyLintBear (W0201):
|    | W0201 - Attribute 'bonus_points' defined outside __init__

src/mahjong_ranking/models.py
| 288| ················self.player_comment·=·getattr(self,·'%s_comment'·%·player)
|    | [NORMAL] PyLintBear (W0201):
|    | W0201 - Attribute 'player_comment' defined outside __init__

src/mahjong_ranking/models.py
| 285| ················self.kyu_points·=·getattr(self,·'%s_kyu_points'·%·player)
|    | [NORMAL] PyLintBear (W0201):
|    | W0201 - Attribute 'kyu_points' defined outside __init__

src/mahjong_ranking/models.py
| 330| class·KyuDanRanking(models.Model):
|    | [INFO] PyLintBear (R0902):
|    | R0902 - Too many instance attributes (8/7)

src/mahjong_ranking/models.py
| 356| ········if·self.dan_points·is·not·None:
|    | [INFO] PyLintBear (R1705):
|    | R1705 - Unnecessary "else" after "return"

src/mahjong_ranking/models.py
| 431| ····def·get_absolute_url(self):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing method docstring

src/mahjong_ranking/models.py
| 432| ········if·self.dan·or·self.dan_points·>·0:
|    | [INFO] PyLintBear (R1705):
|    | R1705 - Unnecessary "else" after "return"

src/mahjong_ranking/models.py
| 492| ····def·update_hanchan_points(self,·hanchan):
|    | [INFO] PyLintBear (R0912):
|    | R0912 - Too many branches (18/12)

src/mahjong_ranking/models.py
| 547| ····def·update_rank(self):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing method docstring

src/mahjong_ranking/models.py
| 574| class·SeasonRanking(models.Model):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing class docstring

src/mahjong_ranking/models.py
| 588| ····def·get_absolute_url(self):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing method docstring

src/mahjong_ranking/models.py
| 591| ····def·recalculate(self):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing method docstring

src/mahjong_ranking/models.py
| 618| def·update_ranking(sender,·instance,·**kwargs):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing function docstring

src/mahjong_ranking/models.py
| 634| ····set_dirty(event=instance.event_id,·user=user.id)
|    | [NORMAL] PyLintBear (W0631):
|    | W0631 - Using possibly undefined loop variable 'user'

src/mahjong_ranking/models.py
| 618| def·update_ranking(sender,·instance,·**kwargs):
|    | [NORMAL] PyLintBear (W0613):
|    | W0613 - Unused argument 'sender'

src/mahjong_ranking/models.py
| 618| def·update_ranking(sender,·instance,·**kwargs):
|    | [NORMAL] PyLintBear (W0613):
|    | W0613 - Unused argument 'kwargs'

src/events/forms.py
|  60| EventSeriesFormset·=·forms.inlineformset_factory(··#·Ignore·PyLintBear·(C0103)
|    | [INFO] PyLintBear (C0103):
|    | C0103 - Invalid constant name "EventSeriesFormset"

src/maistar_ranking/models.py
|  91| ····def·save(self,·**kwargs):
|    | [NORMAL] PyLintBear (W0221):
|    | W0221 - Parameters differ from overridden 'save' method

src/maistar_ranking/models.py
| 195| def·update_maistar_ranking(sender,·instance,·**kwargs):
|    | [NORMAL] PyLintBear (W0613):
|    | W0613 - Unused argument 'kwargs'

src/maistar_ranking/models.py
| 195| def·update_maistar_ranking(sender,·instance,·**kwargs):
|    | [NORMAL] PyLintBear (W0613):
|    | W0613 - Unused argument 'sender'
|    | [NORMAL] PEP8Bear:
|    | The code does not comply to PEP8.
|----|    | /srv/home/xeniac/Workspace/kasu/src/utils/tests.py
|    |++++| /srv/home/xeniac/Workspace/kasu/src/utils/tests.py
|  44|  44|         xxx-xxxx</FONT></DIV></BODY></HTML>
|  45|  45|         ''',
|  46|  46|          '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">'
|  47|    |-        )
|    |  47|+         )
|  48|  48|     )
|  49|  49|
|  50|  50|     def test_html_cleaner(self):

src/maistar_ranking/managers.py
|  12| class·GameManager(models.Manager):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing class docstring

src/maistar_ranking/managers.py
|  15| ····def·player_games(self,·player,·season=None,·**kwargs):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing method docstring

src/maistar_ranking/managers.py
|  28| class·LadderManager(models.Manager):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing class docstring

src/maistar_ranking/managers.py
|  58| ····def·get_seasons(self):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing method docstring

src/kasu/local_settings.py
|   9| specific·to·the·current·deployment.·e.g.·usernames,·passwords,·pathnames,·
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/kasu/local_settings.py
|  16| logger·=·logging.getLogger(__name__)
|    | [INFO] PyLintBear (C0103):
|    | C0103 - Invalid constant name "logger"

src/kasu/local_settings.py
|  29| ····import·rosetta
|    | [NORMAL] PyLintBear (W0611):
|    | W0611 - Unused import rosetta

src/kasu/local_settings.py
|  36| ····import·debug_toolbar
|    | [NORMAL] PyLintBear (W0611):
|    | W0611 - Unused import debug_toolbar

src/events/views.py
|  90| ····def·get(self,·request,·*args,·**kwargs):
|    | [NORMAL] PyLintBear (W0613):
|    | W0613 - Unused argument 'kwargs'

src/events/views.py
|  90| ····def·get(self,·request,·*args,·**kwargs):
|    | [NORMAL] PyLintBear (W0613):
|    | W0613 - Unused argument 'args'

src/events/views.py
|  90| ····def·get(self,·request,·*args,·**kwargs):
|    | [NORMAL] PyLintBear (W0613):
|    | W0613 - Unused argument 'request'

src/events/views.py
| 121| ········if·request.POST.get('rotate')·and·request.user.has_perm(
|    | [INFO] PyLintBear (R1705):
|    | R1705 - Unnecessary "else" after "return"

src/events/views.py
| 153| class·EventPhotoUpload(mixins.EventDetailMixin,·generic.FormView):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing class docstring

src/events/views.py
| 167| ····def·post(self,·*args,·**kwargs):
|    | [NORMAL] PyLintBear (W0221):
|    | W0221 - Parameters differ from overridden 'post' method

src/events/views.py
| 186| class·EventSeriesForm(mixins.EventDetailMixin,·PermissionRequiredMixin,
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing class docstring

src/events/views.py
| 204| class·UpcomingEvents(generic.ListView):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing class docstring
|    | [NORMAL] PEP8Bear:
|    | The code does not comply to PEP8.
|----|    | /srv/home/xeniac/Workspace/kasu/src/utils/massmailer.py
|    |++++| /srv/home/xeniac/Workspace/kasu/src/utils/massmailer.py
|  68|  68|
|  69|  69|     def set_header(self, name, value):
|  70|  70|         """Add or modify an E-Mail Header to the Messages
|  71|    |-
|    |  71|+
|  72|  72|         :param name: The Header Name that should be added
|  73|  73|         :param value: THe Header Value that shoud be added or set
|  74|  74|         """

src/utils/massmailer.py
|  71| ········
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/utils/massmailer.py
|  81| ········:return:·
|    | [INFO] PyLintBear (C0303):
|    | C0303 - Trailing whitespace

src/utils/massmailer.py
|  48| ················LOGGER.debug('Adding·%s·as·Recipient'·%·recipient)
|    | [NORMAL] PyLintBear (W1201):
|    | W1201 - Specify string format arguments as logging function parameters

src/utils/massmailer.py
|  77| ····def·send(self,·recipients=set()):
|    | [NORMAL] PyLintBear (W0102):
|    | W0102 - Dangerous default value set() (builtins.set) as argument

src/utils/massmailer.py
|  84| ········if·len(mail_queue)·==·0:
|    | [INFO] PyLintBear (C1801):
|    | C1801 - Do not use `len(SEQUENCE)` as condition value

src/utils/massmailer.py
| 100| ····················LOGGER.info("Mail·sent·successful·to:·%s"·%·mail.to)
|    | [NORMAL] PyLintBear (W1201):
|    | W1201 - Specify string format arguments as logging function parameters

src/mahjong_ranking/views.py
| 151| ············:3]
|    | [INFO] PyLintBear (C0330):
|    | C0330 - Wrong hanging indentation (add 4 spaces).

src/mahjong_ranking/views.py
|   1| #·-*-·encoding:·utf-8·-*-
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing module docstring

src/mahjong_ranking/views.py
|  18| kyu_dan_order·=·{
|    | [INFO] PyLintBear (C0103):
|    | C0103 - Invalid constant name "kyu_dan_order"

src/mahjong_ranking/views.py
|  68| ········if·self.request.user.has_perm('mahjong_ranking.change_hanchan'):
|    | [INFO] PyLintBear (R1705):
|    | R1705 - Unnecessary "else" after "return"

src/mahjong_ranking/views.py
|  91| ········if·self.kwargs.get('hanchan'):
|    | [INFO] PyLintBear (R1705):
|    | R1705 - Unnecessary "else" after "return"

src/mahjong_ranking/views.py
|  97| ········if·self.kwargs.get('hanchan'):
|    | [INFO] PyLintBear (R1705):
|    | R1705 - Unnecessary "else" after "return"

src/mahjong_ranking/views.py
| 138| class·MahjongMixin(object):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing class docstring

src/mahjong_ranking/views.py
| 139| ····def·get_context_data(self,·**kwargs):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing method docstring

src/mahjong_ranking/views.py
| 175| class·SeasonRankingList(MahjongMixin,·generic.ListView):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing class docstring

src/mahjong_ranking/views.py
| 189| class·PlayerScore(LoginRequiredMixin,·generic.ListView):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing class docstring

src/mahjong_ranking/views.py
| 195| ············self.user·=·user_model.objects.get(
|    | [NORMAL] PyLintBear (W0201):
|    | W0201 - Attribute 'user' defined outside __init__

src/mahjong_ranking/views.py
| 220| class·PlayerDanScore(PlayerScore):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing class docstring

src/mahjong_ranking/views.py
| 227| class·PlayerInvalidScore(PlayerScore):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing class docstring

src/mahjong_ranking/views.py
| 234| class·PlayerKyuScore(PlayerScore):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing class docstring

src/mahjong_ranking/views.py
| 241| class·PlayerLadderScore(PlayerScore):
|    | [INFO] PyLintBear (C0111):
|    | C0111 - Missing class docstring

src/mahjong_ranking/views.py
| 253| ····def·get_queryset(self,·**kwargs):
|    | [NORMAL] PyLintBear (W0221):
|    | W0221 - Parameters differ from overridden 'get_queryset' method

src/mahjong_ranking/views.py
| 253| ····def·get_queryset(self,·**kwargs):
|    | [NORMAL] PyLintBear (W0613):
|    | W0613 - Unused argument 'kwargs'
Executing section cli...
