Skip to main content
Loading page…
Python Mastery
Chapter 53
Lesson 1 of 4
Modern Project Tooling: uv, Ruff & pre-commit
Contents
Notes
Tutor
Note
Building on the Professional Python Module
Loading activity…
Previous
1 / 12
Continue
Contents
Notes
Discussion
Tutor
28 min
12 activities
0 of 12 done
In this lesson
1
Building on the Professional Python Module
2
Why Modern Tooling Matters
3
uv — The Fast New Standard
4
Poetry as an Alternative
5
Ruff and pre-commit — Covered in Depth in Professional Python
6
Ruff — One Tool for Lint + Format
7
Pre-commit Hooks
8
A Production-Ready pyproject.toml for FastAPI
9
Lock Files and Reproducibility
10
Modern Tooling Concepts Quiz
11
Gotcha: Don't Commit Your Virtual Environment
12
Explain the Role of the Lock File
Objectives
Learner can create a new project with uv or poetry and understand the difference
Learner can lock and reproduce an environment deterministically
Learner can configure ruff for linting and formatting in pyproject.toml
Learner can set up pre-commit hooks that enforce quality gates before every commit
Learner can explain why pyproject.toml replaced setup.py and requirements.txt
Further reading
uv project concepts
Ruff configuration
pre-commit documentation
Chapter 53 · Packaging, Docker & Deployment
Modern Project Tooling: uv, Ruff & pre-commit
Docker for Python
CI/CD with GitHub Actions, uv and Trusted Publishing
Deploying a Python App
Previous: Security Basics & Production Practices
Next: Docker for Python