blob: 58bc269b8c818c49dd6890d146f23d6406c8b44a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
"""A filter plugin."""
# pylint: disable=invalid-name
def a_test_filter(a, b):
"""Return a string containing both a and b."""
return f"{a}:{b}"
# pylint: disable=too-few-public-methods
class FilterModule:
"""Filter plugin."""
@staticmethod
def filters():
"""Return filters."""
return {"test_filter": a_test_filter}
|