Skip to content

Fix typos in docstrings and comments#8276

Open
DaoyuanLi2816 wants to merge 1 commit into
huggingface:mainfrom
DaoyuanLi2816:fix/typos
Open

Fix typos in docstrings and comments#8276
DaoyuanLi2816 wants to merge 1 commit into
huggingface:mainfrom
DaoyuanLi2816:fix/typos

Conversation

@DaoyuanLi2816

Copy link
Copy Markdown
Contributor

What does this PR do?

Fixes ~20 typos in docstrings, comments, and messages (no functional changes). Examples: informationsinformation, simulatenoussimultaneous, acculumationaccumulation, ambigiousambiguous, conveniantconvenient, unstructredunstructured, lenthlength, compresssedcompressed, DownloadMangerDownloadManager, and a couple of doesnt/doesnt'doesn't. A few were in user-facing strings (e.g. ValueError("please provide valid file information"), the fingerprint length message).

Found with codespell and manually triaged — I left alone the false positives: fo (the fo= parameter of CompressedFileSystem), .caf (Core Audio Format extension), iif (informal "iff" / if-and-only-if), and one ambiguous cant. Only comments, docstrings, and message strings were touched — no identifiers or public API.

Before submitting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant