d-ming / AR-tools

A set of utility functions and Jupyter notebooks for attainable region (AR) computations.
2 stars 7 forks source link

Standardisation to PEP8 guidelines #7

Open deanzimucha opened 8 years ago

deanzimucha commented 8 years ago

As per your suggestion @d-ming, I would like to use pep8 (Style guide for python code) to ensure that the presentation in the AR-tools package is consistent. However, I can't figure out how to use it. Please help:)

d-ming commented 8 years ago

@deanzimucha, you could use an autoformatter like yapf. These links describe what yapf is and how it's used:

Install from the command line using pip install yapf

and then use by running yapf from the command line: yapf -i artools.py

I created a branch to test out yapf on the current version of artools.py in master and just merged the pull request here: #8