codespell
« Back to VersTracker
Description:
Fix common misspellings in source code and text files
Type: Formula  |  Latest Version: 2.4.1@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: spelling linter developer-tools python code-quality
Install: brew install codespell
About:
Codespell is a Python utility designed to detect and fix common misspellings and typos in source code and text files. It scans files for known incorrect words and can automatically apply corrections, making it invaluable for maintaining code quality. The tool is highly configurable, allowing custom dictionaries and ignored words for specific projects.
Key Features:
  • Scans source code and text files for common misspellings
  • Supports automatic fixing of detected errors
  • Configurable with custom dictionaries and ignore lists
  • Fast and lightweight with minimal dependencies
Use Cases:
  • Cleaning up typos in source code repositories before release
  • Enforcing consistent spelling in documentation and markdown files
  • Automating code quality checks in CI/CD pipelines
Alternatives:
  • aspell – Aspell is a general-purpose spell checker focused on prose, whereas Codespell is specifically optimized for source code and technical text.
License: GPL-2.0-only
Dependencies: python@3.14
Bottles available for: all
Version History
Detected Version Rev Change Commit
Oct 12, 2025 9:31am 0 VERSION_BUMP 88b19a10
Oct 10, 2024 8:41am 0 VERSION_BUMP 135ed03b