Skip to content

Commit

Permalink
chore: add docstring for the git_init_options argument
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Nguyen <nathan.nguyen@oracle.com>
  • Loading branch information
nathanwn committed Feb 23, 2024
1 parent c0df5e6 commit c78edd0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/slsa_analyzer/mock_git_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,14 @@ def initiate_repo(repo_path: str | os.PathLike, git_init_options: dict | None =
Parameters
----------
repo_path : str or os.PathLike
repo_path : str | os.PathLike
The path to the target repo.
git_init_options : dict
Additional keyword arguments passed to the `git.Repo.init` method.
Each key is the name of the argument and each value is the corresponding value
for the argument.
Returns
-------
Git
Expand Down

0 comments on commit c78edd0

Please sign in to comment.