From 5550e5ecf32f71ed53ef1c47eba81f29f7497903 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Thu, 12 Jul 2018 10:11:13 +0200 Subject: [PATCH] Make PyLint happy again --- calsocial/__init__.py | 6 ++++++ calsocial/forms.py | 1 + 2 files changed, 7 insertions(+) diff --git a/calsocial/__init__.py b/calsocial/__init__.py index 267cd59..0fa1f0e 100644 --- a/calsocial/__init__.py +++ b/calsocial/__init__.py @@ -403,6 +403,9 @@ class CalendarSocialApp(Flask): @route('/edit-profile', methods=['GET', 'POST']) @login_required def edit_profile(): + """View for editing one’s profile + """ + from .forms import ProfileForm from .models import db @@ -418,6 +421,9 @@ class CalendarSocialApp(Flask): @staticmethod @route('/all-events') def all_events(): + """View for listing all available events + """ + from .calendar_system.gregorian import GregorianCalendar try: diff --git a/calsocial/forms.py b/calsocial/forms.py index 21f2343..3ba1614 100644 --- a/calsocial/forms.py +++ b/calsocial/forms.py @@ -330,6 +330,7 @@ class FirstStepsForm(FlaskForm): display_name = StringField( label=_('Display name'), validators=[DataRequired()], + # pylint: disable=line-too-long description=_('This will be shown to other users as your name. You can use your real name, or any nickname you like.')) time_zone = TimezoneField( label=_('Your time zone'),