modern-python
Configures Python projects with uv, ruff, and ty — the modern replacements for pip, flake8/black, and mypy.
Setup & Installation
What This Skill Does
Configures Python projects with uv, ruff, and ty — the modern replacements for pip, flake8/black, and mypy. Covers new projects, standalone scripts using PEP 723 inline metadata, and migrations from legacy tooling like Poetry or requirements.txt.
Instead of manually wiring up separate tools with incompatible configs, this skill applies a consistent, tested setup from Trail of Bits that covers dependency management, linting, formatting, and type checking in one pass.
When to use it
- Setting up pyproject.toml with uv and ruff from scratch
- Migrating a project off requirements.txt and flake8 to uv and ruff
- Writing a standalone script with inline PEP 723 dependency metadata
- Replacing mypy with ty in an existing typed codebase
- Converting a Poetry project to uv with dependency groups
Similar Skills
ios-application-dev
A reference guide for building iOS apps with UIKit, SnapKit, and SwiftUI.
fullstack-dev
A workflow guide for building full-stack applications, covering backend architecture, frontend-backend integration, auth, real-time features, and production hardening.
android-native-dev
A reference guide for Android native development covering Kotlin/Compose patterns, Material Design 3 specs, Gradle project setup, and build troubleshooting.
frontend-dev
Builds complete frontend pages by combining UI design, scroll animations, AI-generated media assets, and copywriting into a single workflow.
