$ echo "I love to use iterm2 as opposed to ghostty and alacritty because it has so many great features." > foo.txt
$ pre-commit run typos --files iterm2-bg-color.py foo.txt
typos....................................................................Failed
- hook id: typos
- exit code: 2
error: `iterm` should be `term`, `item`, `intern`
╭▸ iterm2-bg-color.py:21:9
│
21 │ def set_iterm2_bg(hex_color):
╰╴ ━━━━━
error: `iterm` should be `term`, `item`, `intern`
╭▸ iterm2-bg-color.py:60:13
│
60 │ set_iterm2_bg(color)
╰╴ ━━━━━
error: `iterm` should be `term`, `item`, `intern`
╭▸
1 │ /iterm2-bg-color.py
╰╴ ━━━━━
error: `iterm` should be `term`, `item`, `intern`
╭▸ foo.txt:1:15
│
1 │ I love to use iterm2 as opposed to ghostty and alacritty because it has so many great features.
╰╴ ━━━━━
Please complete the following tasks
Valid word
iterm
Incorrect correction
term,item,internJustification
https://iterm2.com is maybe the most popular third party terminal emulator on macOS. The word
itermis being treated as a typo in code and in documentation.Interestingly,
ghosttyandalacrittyare both accepted.Notes