Skip to content
UPEEC

Code Quality: Linters, Formatters and Type Checkers

Tools that keep code consistent and catch bugs before running it.

Easy
Comments 0

This is an overview — pick a sub-topic below.

Sub-topics (6)

Ruff

An extremely fast linter and formatter (Rust) that replaces Flake8, isort, pyupgrade and often Black.

Easy♥ 0🔖 0💬 0

Black and isort

Black formats code in one consistent style; isort sorts imports.

Beginner♥ 0🔖 0💬 0

Flake8 and Pylint

Classic linters: Flake8 checks style and simple errors; Pylint performs deeper analysis.

Easy♥ 0🔖 0💬 0

mypy and Pyright

Static type checkers that verify type hints across your codebase.

Intermediate♥ 0🔖 0💬 0

Bandit

Finds common security issues in Python code (hard-coded passwords, shell injection, weak crypto).

Intermediate♥ 0🔖 0💬 0

pre-commit

Runs linters and formatters automatically before every Git commit.

Easy♥ 0🔖 0💬 0

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.