We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28c8a07 commit 3651949Copy full SHA for 3651949
.internal/pre_commit_tools/metadata_utils.py
@@ -64,7 +64,7 @@ def verify_type(self, data: Any) -> bool:
64
return type(data) is list and all(type(i) is str for i in data)
65
66
def verify_value(self, data: list[str]) -> bool:
67
- if allowed_values is None:
+ if self.allowed_values is None:
68
return True
69
else:
70
return all(value in self.allowed_values for value in data)
0 commit comments