A linter automatically scans your code for mistakes, style problems, and bad practices before you run it.
Technically: A linter performs static analysis on source code without executing it, flagging syntax errors, undefined variables, style violations, and common bugs per a configured ruleset. In AI codebases, type checkers (mypy, pyright) catch tensor-shape and API-usage mistakes at development time rather than inference runtime. Linters run in editors and CI for fast feedback before review.
Category: Environment & Runtime