Cleanup: grammar corrections, minor improvements to wording
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user