Python venv Project Setup Cheat Sheet/Install common local tooling

Install formatter, linter, and test tooling in the venv.

Section: Project bootstrap

Install common local tooling

bash
bash
python -m pip install black ruff pytest
Explanation

A typical local developer-tool bootstrap step.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Project bootstrap
Create project and venv
Create a project folder and initialize a virtual environment.
OpenIn sheetbashsame section
Ignore the local venv in Git
Add the environment directory to .gitignore.
OpenIn sheetgitignoresame section
Minimal pyproject.toml example
Basic modern packaging metadata for a local project.
Typical README quick-start block
Copy-paste setup commands for local onboarding.
OpenIn sheetmarkdown
Install project editable from pyproject
Install the current project into the venv in editable mode.
Makefile setup target
Automate local environment setup for contributors.
OpenIn sheetmakefile