Cleanup: spelling in comments (make check_spelling_*)

This commit is contained in:
Campbell Barton 2026-02-26 13:53:48 +11:00
parent 6ed9f3f729
commit 9b80f4462e
20 changed files with 41 additions and 35 deletions

View file

@ -55,7 +55,7 @@ def download_asset_file(
:param save_to: the path on disk where to download to. While the download is
pending, ".part" will be appended to the filename. When the download
finishes succesfully, it is renamed to the final path.
finishes successfully, it is renamed to the final path.
"""
try:
downloader = _asset_downloaders[asset_library_url]
@ -107,7 +107,7 @@ def download_preview(
:param dst_filepath: the path on disk where to download to. While the
download is pending, ".part" will be appended to the filename. When the
download finishes succesfully, it is renamed to the final path.
download finishes successfully, it is renamed to the final path.
"""
import time

View file

@ -18,7 +18,7 @@ logger = logging.getLogger(__name__)
@dataclasses.dataclass
class CLIArguments:
"""Parsed commandline arguments."""
"""Parsed command-line arguments."""
url: str

View file

@ -22,7 +22,7 @@ class ExtraFileMetadataProvider(http_dl.MetadataProvider):
The downloader will get the request to download to `file-unsafe.json`.
However, if `file.json` is still fresh (i.e. the HTTP metadata for the URL
is appliccable to that file), the downloader should be able to do a
is applicable to that file), the downloader should be able to do a
conditional download (instead of an unconditional one).
This is implemented as a wrapper for any other MetadataProvider, rather than

View file

@ -31,7 +31,7 @@ def mutex_lock(local_library_path: Path) -> bool:
- https://www.pythontutorials.net/blog/make-sure-only-a-single-instance-of-a-program-is-running/
- https://yakking.branchable.com/posts/procrun-2-pidfiles/
:returns: true if the lock was created succesfully, false if some other
:returns: true if the lock was created successfully, false if some other
Blender already locked this library.
"""
global _registered_atexit