<commit_before>from django.views import generic

import adhocracy4.dashboard.mixins as dashboard_mixins
from adhocracy4.projects.mixins import ProjectMixin
from adhocracy4.rules import mixins as rules_mixins

from . import forms
from . import models


class ActivityDashboardView(ProjectMixin, dashboard_mixins.DashboardBaseMixin,
                            dashboard_mixins.DashboardComponentMixin,
                            generic.UpdateView):
    model = models.Activity
    form_class = forms.ActivityForm
    template_name = 'meinberlin_activities/activities_dashboard.html'
    permission_required = 'meinberlin_activities.change_activity'
<commit_msg>apps/activities: gardening: fix isort linting error<commit_after>from django.views import generic

from adhocracy4.dashboard import mixins as dashboard_mixins
from adhocracy4.projects.mixins import ProjectMixin
from adhocracy4.rules import mixins as rules_mixins

from . import forms
from . import models


class ActivityDashboardView(ProjectMixin, dashboard_mixins.DashboardBaseMixin,
                            dashboard_mixins.DashboardComponentMixin,
                            generic.UpdateView):
    model = models.Activity
    form_class = forms.ActivityForm
    template_name = 'meinberlin_activities/activities_dashboard.html'
    permission_required = 'meinberlin_activities.change_activity'

{'fraction_non_alphanumeric': 0.04974396488661302, 'fraction_numerical': 0.0043891733723482075, 'mean_word_length': 3.920863309352518, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4210402', 'n_tokens_mistral': 383, 'n_tokens_neox': 379, 'n_words': 81}