# modern-python > Work with Python (`uv` instead of `python`, modern type syntax, linting, formatting, etc.) properly! - Author: David Gasquez - Repository: davidgasquez/dotfiles - Version: 20260122115548 - Stars: 39 - Forks: 0 - Last Updated: 2026-02-06 - Source: https://github.com/davidgasquez/dotfiles - Web: https://mule.run/skillshub/@@davidgasquez/dotfiles~modern-python:20260122115548 --- --- name: modern-python description: Work with Python (`uv` instead of `python`, modern type syntax, linting, formatting, etc.) properly! --- - Never use `python`. Use `uv` instead of `python` - `uv add package-name` - `uv run script.py` - Don't use `from __future__ import annotations` - Use modern type syntax (`list[str], str | None`) - Format with `uvx ruff format .` - Lint with `uvx ruff check .` and `uvx ty check` - Look before you leap (check conditions before acting)