Skip to content

Commit

Permalink
Tweak built-in filter doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jg-rp committed Apr 8, 2024
1 parent 08fc280 commit 48b0636
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions liquid/builtin/filters/math.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Maths related filter definitions."""
"""Maths related filter functions."""

import decimal
import math
Expand All @@ -10,10 +10,10 @@
from liquid.filter import math_filter
from liquid.filter import num_arg

# TODO: [VERSION_2] Either handle all filter function argument type conversions
# in a decorator or all in the function itself. Having these type conversions
# split between decorators and calls to helper functions does not help with
# readability, or make it easy to write good doc strings.
# TODO: Version 2 - Either handle all filter function argument type
# conversions in a decorator or all in the function itself. Having these type
# conversions split between decorators and calls to helper functions does not
# help with readability, or make it easy to write good doc strings.


@math_filter
Expand Down
2 changes: 1 addition & 1 deletion liquid/builtin/filters/misc.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Miscellaneous filters."""
"""Miscellaneous filter functions."""
from __future__ import annotations

import datetime
Expand Down

0 comments on commit 48b0636

Please sign in to comment.