Skip to content

Commit 5c35cef

Browse files
committed
docs: add explanation of why validator function signature is what it is
1 parent 27f7e76 commit 5c35cef

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/aws_encryption_sdk/internal/validators.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
pass
1212

1313

14+
# The unused-argument check is disabled because
15+
# this function MUST match the function signature
16+
# for attrs validators.
1417
def value_is_not_a_string(instance, attribute, value): # pylint: disable=unused-argument
1518
# type: (Any, attr.Attribute, Any) -> None
1619
"""Technically a string is an iterable containing strings.

0 commit comments

Comments
 (0)