Commit 6dc926c
committed
Add validation rule for empty sized containers
As it seems, GitHub passes unset values as empty strings, meaning that
they pass validation for the string type. To prevent empty strings from
making it past the verification feature, I've now added size validation
for whenever a value is a subclass of `collections.abc.Sized`.1 parent 870e597 commit 6dc926c
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| 75 | + | |
| 76 | + | |
74 | 77 | | |
75 | 78 | | |
76 | 79 | | |
| |||
0 commit comments