Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2142)

Issue 22370044: Support float config type in proof.

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 6 months ago by rharding
Modified:
10 years, 6 months ago
Reviewers:
bac, mp+194209
Visibility:
Public.

Description

Support float config type in proof. - if we don't support validating it then ignore it for now - add tests to each type we validate. https://code.launchpad.net/~rharding/charmworld/allow-more-config-types/+merge/194209 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -20 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M charmworld/lib/proof.py View 2 chunks +10 lines, -3 lines 1 comment Download
M charmworld/lib/tests/test_proof.py View 1 chunk +73 lines, -17 lines 0 comments Download

Messages

Total messages: 2
rharding
Please take a look.
10 years, 6 months ago (2013-11-06 18:56:43 UTC) #1
bac
10 years, 6 months ago (2013-11-06 19:05:21 UTC) #2
The code LGTM but I'm not sure about the choice to not throw an error on unknown
types.

https://codereview.appspot.com/22370044/diff/1/charmworld/lib/proof.py
File charmworld/lib/proof.py (right):

https://codereview.appspot.com/22370044/diff/1/charmworld/lib/proof.py#newcode43
charmworld/lib/proof.py:43: return
Shouldn't an invalid type be an error or at least a warning?
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b