Update patch set 2

Patch Set 2: Code-Review-1

(3 comments)

Code is solid overall, but I think there should be more focus on possible edge cases and error handling. Otherwise we might end up with some nasty bugs down the line.

Patch-set: 2
Reviewer: Gerrit User 32926 <32926@4a232e18-c5a9-48ee-94c0-e04e7cca6543>
Label: Code-Review=-1
This commit is contained in:
Gerrit User 32926 2021-09-27 06:53:49 +00:00 committed by Gerrit Code Review
parent 08d4eb2f1d
commit 9616a98ca1
1 changed files with 51 additions and 0 deletions

View File

@ -17,6 +17,57 @@
"serverId": "4a232e18-c5a9-48ee-94c0-e04e7cca6543",
"unresolved": true
},
{
"key": {
"uuid": "9f1573d3_57b4c374",
"filename": "validations_libs/cli/common.py",
"patchSetId": 2
},
"lineNbr": 105,
"author": {
"id": 32926
},
"writtenOn": "2021-09-27T06:53:49Z",
"side": 1,
"message": "This function really needs another test case, for the YAMLError.\nIf things go wrong here we might end up with incorrect or no validations executing.",
"revId": "bef53bc2f63d85b7b8a85e4327db38065b78e9a6",
"serverId": "4a232e18-c5a9-48ee-94c0-e04e7cca6543",
"unresolved": true
},
{
"key": {
"uuid": "59d764f0_3db4f545",
"filename": "validations_libs/cli/common.py",
"patchSetId": 2
},
"lineNbr": 106,
"author": {
"id": 32926
},
"writtenOn": "2021-09-27T06:53:49Z",
"side": 1,
"message": "Since you are already writing docsrings, specification of the argument and return value would be nice :).",
"revId": "bef53bc2f63d85b7b8a85e4327db38065b78e9a6",
"serverId": "4a232e18-c5a9-48ee-94c0-e04e7cca6543",
"unresolved": true
},
{
"key": {
"uuid": "a04d73ef_e8a12599",
"filename": "validations_libs/cli/common.py",
"patchSetId": 2
},
"lineNbr": 111,
"author": {
"id": 32926
},
"writtenOn": "2021-09-27T06:53:49Z",
"side": 1,
"message": "I think this should be expanded to cover common IO errors.",
"revId": "bef53bc2f63d85b7b8a85e4327db38065b78e9a6",
"serverId": "4a232e18-c5a9-48ee-94c0-e04e7cca6543",
"unresolved": true
},
{
"key": {
"uuid": "9e8c8f47_b193d796",