Browse Source

Formatting touch ups

Alec Nikolas Reiter 7 years ago
parent
commit
7b9b394f50
2 changed files with 3 additions and 4 deletions
  1. 2 2
      flaskbb/plugins/utils.py
  2. 1 2
      flaskbb/tokens/__init__.py

+ 2 - 2
flaskbb/plugins/utils.py

@@ -25,8 +25,8 @@ def template_hook(name, silent=True, is_markup=True, **kwargs):
     :param silent: If set to ``False``, it will raise an exception if a hook
                    doesn't exist. Defauls to ``True``.
     :param is_markup: Determines if the hook should return a Markup object or
-        not. Setting to False returns a TemplateEventResult object. The default
-        is True.
+                   not. Setting to False returns a TemplateEventResult object.
+                   The default is True.
     :param kwargs: Additional kwargs that should be passed to the hook.
     """
     try:

+ 1 - 2
flaskbb/tokens/__init__.py

@@ -9,5 +9,4 @@
 
 from .serializer import FlaskBBTokenSerializer
 
-
-__all__ = ('FlaskBBTokenSerializer',)
+__all__ = ("FlaskBBTokenSerializer",)