This PR adds a sanity script (sanity.sh) that can be run before every commit to make sure the code follows PEP8 conventions. Settings for the script are defined in .pycodestylerc and .pydocstylerc.
pep8speaks is also configured to follow max line length limit of 120 as defined in .pycodestyle to make sure both are consistent.
This PR adds a sanity script (
sanity.sh
) that can be run before every commit to make sure the code follows PEP8 conventions. Settings for the script are defined in.pycodestylerc
and.pydocstylerc
.pep8speaks is also configured to follow max line length limit of 120 as defined in
.pycodestyle
to make sure both are consistent.