Skip to content

Commit 4b0d5b5

Browse files
committed
docs: Fix typo in pytest plugin docs (set_getconfig -> set_gitconfig) and add Python syntax highlighting
1 parent 46409a6 commit 4b0d5b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/pytest-plugin.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def setup(set_home: None):
8686
You can override the default author used in {func}`git_remote_repo` and other
8787
fixtures via {func}`vcs_name`, {func}`vcs_email`, and {func}`vcs_user`:
8888

89-
```
89+
```python
9090
@pytest.fixture(scope="session")
9191
def vcs_name() -> str:
9292
return "My custom name"
@@ -102,7 +102,7 @@ def setup(set_gitconfig: None):
102102
pass
103103
```
104104

105-
Sometimes, `set_getconfig` via `GIT_CONFIG` doesn't apply as expected. For those
105+
Sometimes, `set_gitconfig` via `GIT_CONFIG` doesn't apply as expected. For those
106106
cases, you can use {func}`git_commit_envvars`:
107107

108108
```python

0 commit comments

Comments
 (0)