Cleanup: grammar corrections, minor improvements to wording

This commit is contained in:
Campbell Barton
2025-08-01 11:35:51 +00:00
parent 53380ed8b2
commit 2c27d2be54
57 changed files with 97 additions and 90 deletions

View File

@@ -88,7 +88,7 @@ class StaleFiles:
debug = self._debug
assert base_directory.endswith(sep)
# Don't support loading multiple times or after adding files.
# Don't support loading multiple times or running again after adding files.
assert len(paths) == 0
stale_filepath = os.path.join(base_directory, self._stale_filename)

View File

@@ -382,7 +382,7 @@ def module_names(path, *, recursive=False, package=""):
fullpath = join(path, filename)
modules.append((package_prefix + filename[0:-3], fullpath))
elif not filename.startswith("."):
# Skip hidden files since they are used by for version control.
# Skip hidden files since they are used for version control.
directory = join(path, filename)
fullpath = join(directory, "__init__.py")
if isfile(fullpath):