Python Best Practices for Code Quality

Python Best Practices for Code Quality

English | MP4 | AVC 1280×720 | AAC 44KHz 2ch | 1h 15m | 211 MB

This is a replacement for the aging course, Python Developers Toolkit, covering only the topics around Pylint and Documentation. These are obviously core skills for any python developer, but for a beginner, they might come too early.

In need of core skills for any level python development? In this course, Python Best Practices for Code Quality, you will learn a number of best practices that will help you improve the quality of your Python code. First, you will discover the guidelines for formatting code called Pep8. Next, you will create beautiful and publishable documentation with Python docstrings and a tool called Sphinx. Finally. you will explore how to improve maintainability and prevent errors by adding type hints to your code. By the end of this course, you will be able to write clearer, more readable and more maintainable code with better documentation.

Table of Contents

Course Overview
1 Course Overview

Following Python Style Guidelines PEP8 and Pylint
2 Introduction What Is a PEP
3 Overview of PEP8
4 Demo Applying PEP8 Rules to Your Code
5 Review PEP8
6 Demo Commandline Tools Pylint
7 Demo Commandline Tools Pycodestyle and Black
8 Module Summary

Documenting Your Project
9 Introduction Docstrings and Sphinx
10 Demo Getting Started with Sphinx
11 Demo Introducing reStructuredText
12 Review Sphinx and reStructuredText
13 Demo A Python Project with Docstrings
14 Demo Using Apidoc to Generate Documentation from Python Code
15 Review Apidoc

Improve your Code with Type Checking
16 Introduction Static Typing and Type Hints
17 Demo Type Hints
18 Review Type Hints
19 Demo Adding Type Hints to Our Project
20 Demo mypy
21 Summary