NREL / htem-api-examples

Examples of usage of the HTEM DB API
http://htem.nrel.gov
Other
7 stars 5 forks source link

Use lower case variable names in methods #4

Closed somerandomsequence closed 6 years ago

somerandomsequence commented 6 years ago

e.g.,

https://github.com/NREL/htem-api-examples/blob/master/lib/library.py#L21

Only constants should be in all caps:

https://www.python.org/dev/peps/pep-0008/#constants

meschw04 commented 6 years ago

Fixed. This was initially done to avoid using Python protected sequences such as "id" and "not", which may not be used as variable names. Thanks!