Skip to content

Commit

Permalink
style: format with black
Browse files Browse the repository at this point in the history
  • Loading branch information
bepri committed Oct 11, 2024
1 parent b48d0e6 commit 81ead06
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/integration/test_linters.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
[
["--version"],
["install", "pytest", "hypothesis"],
]
],
)
def test_pip_check_success(tmp_path: pathlib.Path, pip_cmd: list[str]):
venv_path = tmp_path / "venv"
Expand All @@ -48,7 +48,7 @@ def test_pip_check_success(tmp_path: pathlib.Path, pip_cmd: list[str]):
"pip_cmd",
[
["install", "--no-deps", "pydantic==2.9.2"],
]
],
)
def test_pip_check_failure(tmp_path: pathlib.Path, pip_cmd: list[str]):
venv_path = tmp_path / "venv"
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/test_linters.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def test_pip_check_success(fake_path: pathlib.Path, fp):
fp.register(
[sys.executable, "-m", "pip", "--python", fp.any(), "check"],
returncode=0,
stdout="Loo loo loo, doing pip stuff. Pip stuff is my favourite stuff."
stdout="Loo loo loo, doing pip stuff. Pip stuff is my favourite stuff.",
)

lint = linters.PipCheck()
Expand All @@ -46,7 +46,7 @@ def test_pip_check_warning(fake_path: pathlib.Path, fp):
fp.register(
[sys.executable, "-m", "pip", "--python", fp.any(), "check"],
returncode=1,
stdout="This error was sponsored by Raytheon Knife Missiles™"
stdout="This error was sponsored by Raytheon Knife Missiles™",
)

lint = linters.PipCheck()
Expand Down

0 comments on commit 81ead06

Please sign in to comment.