Python Best Practices - PEP8 Style Guide, Black, Ruff & Mypy Tutorial #41
6views
0012:13
T
Taught by Celeste AI - AI Coding Coach
View on YouTubeDescription
Learn Python best practices and PEP8 style conventions in this final lesson of our Python tutorial series! We cover naming conventions, auto-formatting with Black,
linting with Ruff, type checking with Mypy, and writing clean, well-documented code with docstrings.
What you will learn:
- PEP8 naming conventions (snake_case, PascalCase, UPPER_CASE)
- Auto-formatting code with Black
- Finding bugs with Ruff linter
- Static type checking with Mypy
- Writing Google-style docstrings
- Building a clean, production-ready Python module
Source code: https://github.com/GoCelesteAI/python_best_practices
0:00 - Introduction
0:33 - PEP8 Naming & Black Explained
1:00 - PEP8 Naming & Black Demo
3:07 - Ruff Linting & Mypy Explained
3:34 - Ruff Linting & Mypy Demo
7:13 - Best Practices Explained
7:40 - Best Practices Demo
10:37 - Recap
11:17 - Outro
---
Tags: python tutorial, python for beginners, pep8, python best practices, black python, ruff python, mypy python, python type hints, python docstrings, python code
quality, python style guide, clean code python, python linting, learn python, GoCelesteAI
Tags
python tutorialpython for beginnerspep8python best practicesblack pythonruff pythonmypy pythonpython type hintspython docstringspython code qualitypython style guideclean code pythonpython lintinglearn pythonGoCelesteAI
Back to tutorialsOpen in YouTube
Duration
12:13
Published
February 13, 2026
Added to Codegiz
March 15, 2026