@@ -172,7 +172,7 @@ def _set_cache_(self, attr: str) -> None:
172
172
173
173
@classmethod
174
174
def _get_intermediate_items (cls , item : "Submodule" ) -> IterableList ["Submodule" ]:
175
- """:return: all the submodules of our module repository"""
175
+ """:return: All the submodules of our module repository"""
176
176
try :
177
177
return cls .list_items (item .module ())
178
178
except InvalidGitRepositoryError :
@@ -326,7 +326,7 @@ def _clone_repo(
326
326
Allow unsafe options to be used, like ``--upload-pack``.
327
327
328
328
:param kwargs:
329
- Additional arguments given to ``git clone``
329
+ Additional arguments given to ``git clone``.
330
330
"""
331
331
module_abspath = cls ._module_abspath (repo , path , name )
332
332
module_checkout_path = module_abspath
@@ -351,7 +351,7 @@ def _clone_repo(
351
351
352
352
@classmethod
353
353
def _to_relative_path (cls , parent_repo : "Repo" , path : PathLike ) -> PathLike :
354
- """:return: a path guaranteed to be relative to the given parent repository
354
+ """:return: A path guaranteed to be relative to the given parent repository
355
355
356
356
:raise ValueError:
357
357
If path is not contained in the parent repository's working tree.
@@ -642,7 +642,7 @@ def update(
642
642
If ``True``, the submodule's sha will be ignored during checkout. Instead,
643
643
the remote will be fetched, and the local tracking branch updated. This only
644
644
works if we have a local tracking branch, which is the case if the remote
645
- repository had a master branch, or of the ``branch`` option was specified
645
+ repository had a master branch, or if the ``branch`` option was specified
646
646
for this submodule and the branch existed remotely.
647
647
648
648
:param progress:
@@ -1309,7 +1309,7 @@ def config_writer(
1309
1309
repository.
1310
1310
1311
1311
:param write:
1312
- If True, the index will be written each time a configuration value changes.
1312
+ If `` True`` , the index will be written each time a configuration value changes.
1313
1313
1314
1314
:note:
1315
1315
The parameters allow for a more efficient writing of the index, as you can
0 commit comments