Skip to content

Commit 05a868c

Browse files
fix: add missing pytest type annotation for monkeypatch parameter
Agent-Logs-Url: https://github.com/usethis-python/usethis-python/sessions/8e0145e3-abde-4c2a-a7d6-1b7f85971db1 Co-authored-by: nathanjmcdougall <18602289+nathanjmcdougall@users.noreply.github.com>
1 parent c1e7465 commit 05a868c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/usethis/_ui/interface/test_show.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
from pathlib import Path
22

3+
import pytest
4+
35
from _test import CliRunner, change_cwd
46
from usethis._config import usethis_config
57
from usethis._types.backend import BackendEnum
@@ -263,7 +265,7 @@ def test_project_key_option_invalid(self, tmp_path: Path):
263265
# Assert
264266
assert result.exit_code == 1, result.output
265267

266-
def test_env_var_project_key(self, tmp_path: Path, monkeypatch):
268+
def test_env_var_project_key(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch):
267269
# SONAR_PROJECT_KEY env var is used when --project-key is not provided.
268270

269271
# Arrange

0 commit comments

Comments
 (0)