Code Style and Documentation
Code style and documentation are topics that are often overlooked in a software project.
However, these are important aspects of a project that can make it easier to maintain and extend.
In this section, we will discuss some of the best practices for code style and documentation.
Lesson Title |
Questions |
Objectives |
Python Coding Style |
|
Learn how to raise exceptions.
Understand how to follow PEP8 style for Python.
Understand what docstrings are and why they are important.
Learn to write docstrings in numpy style.
|
Deciding Package Structure |
|
|
Type Hinting in Python |
|
|
Package Documentation |
|
Run the lesson checking script and interpret its output correctly.
Explain in-code documentation
Explain documentation tools like Read The Docs
|