Skip to content

Latest commit

 

History

History
8 lines (7 loc) · 1.18 KB

Project3.md

File metadata and controls

8 lines (7 loc) · 1.18 KB

Project 3: Updating Code for Docstrings and PEP8

In this project, students will take their code from Project 2 and make it satisfy Python PEP8 standards and include docstrings that follow the Google example that are Sphinx compatible.

  1. Install a Python PEP8 linter in your text editor. For Sublime Text, you can install the SublimeLinter package. And for Atom, you can install the linter-python package.
  2. Install the black package for Python
  3. Update and improve your the PEP8 compliance of your code from Project 2, and submit a pull request for the change.
  4. Update the docstrings in your code from Project 2. They should follow the Google standard for Python docstrings. This is also compatible with Sphinx documentation
  5. Produce a readthedocs webpage of Sphinx documentation for your code.