[BE] add codespell linter (#156066)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/156066
Approved by: https://github.com/malfet
This commit is contained in:
Xuehai Pan
2025-06-16 18:55:08 +08:00
committed by PyTorch MergeBot
parent 2d832c9587
commit 6c493e2b14
4 changed files with 202 additions and 0 deletions

View File

@ -281,3 +281,6 @@ select = [
"tools/linter/**" = [
"LOG015" # please fix
]
[tool.codespell]
ignore-words = "tools/linter/dictionary.txt"