Linters versus formatters
Beginner
Accelerating numerics & developer hygiene
Created by Pavel
· 29.04.2026 at 19:11 UTC
Formatters (Black, isort) rewrite layout—whitespace, line breaks, import order—without changing semantics. Linters (Ruff/flake8/pylint rules) flag suspicious patterns: unused variables, mutable defaults, complexity.
CI pipelines typically run format check (black --check) and lint (ruff) alongside tests. They do not replace tests or types—they reduce noise and catch footguns early.
Black documentation: [1].
Sources
University approvals: 0
Tasks
Card Info
- Topic: Accelerating numerics & developer hygiene
- Difficulty: Beginner
- Completed: 0 users
Creator
Pavel