uptake / updoc

An application for serving documentation in a cloud environment
BSD 3-Clause "New" or "Revised" License
9 stars 1 forks source link

CI tests on code style with pycodestyle #5

Open jameslamb opened 5 years ago

jameslamb commented 5 years ago

Add pycodestyle to the CI setup for this project to prevent PRs from introducing style issues and to document the preferred style for this project.

See this example PR for an example of how to add this type of check to your build. Basically you need to run pycodestyle command on the repo and can optionally configure what it checks with a tox.ini file.

Docs here: http://pycodestyle.pycqa.org/en/latest/intro.html