mcodev31 / libmsym

molecular point group symmetry lib
MIT License
73 stars 33 forks source link

PEP8 code refactoring #9

Closed mcocdawc closed 1 year ago

mcocdawc commented 7 years ago

Made changes in the code to make it PEP8 compatible, changed .gitignore to ignore eggfiles from python build and Replaced creation of strings via overloaded + operator with the format function.

Example:

give_message = "Must provide an array of length {}".format
raise ValueError(give_message(len(self.basis_functions)))

instead of:

raise ValueError("Must provide an array of length " + str(len(self.basis_functions)))