Address pylint issues.

This commit is contained in:
Adam Donahue 2017-06-24 16:45:13 -04:00
parent 9e408b385a
commit c012c48866

View File

@ -29,11 +29,12 @@ def to_camel_case(snake_str):
camel_case_sub_strings.append(s)
continue
# Otherwise replace '_name' with 'Name', for example.
# Otherwise we replace '_name' with 'Name', for example.
camel_case_sub_strings.append(s[1:].title())
return ''.join(camel_case_sub_strings)
# From this response in Stackoverflow
# http://stackoverflow.com/a/1176023/1072990
def to_snake_case(name):