DifferentiableUniverseInitiative / flowpm

Particle Mesh simulation in TensorFlow
https://flowpm.readthedocs.io/
MIT License
90 stars 20 forks source link

Code cleanup and style convention #64

Closed EiffL closed 3 years ago

EiffL commented 3 years ago

Our code base is a fine mess currently in terms of code style ^^'

I suggest we adopt the TensorFlow code conventions for uniformity. Here is a quick link to the documentation and style document for TF: https://www.tensorflow.org/community/contribute/code_style

EiffL commented 3 years ago

And we are going to use yapf (https://github.com/google/yapf) with the following options '{based_on_style: pep8, indent_width: 2}'