grapheo12 / iqps

Web-app meant for qp.metakgp.org
MIT License
20 stars 21 forks source link

Add sanity script #19

Closed mukul-mehta closed 4 years ago

mukul-mehta commented 4 years ago

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.

mukul-mehta commented 4 years ago

Cleaned version of #18

grapheo12 commented 4 years ago

Will you add the Github action in this PR only?

mukul-mehta commented 4 years ago

@grapheo12 I'll add it in a separate PR