Skip to content

Commit c0096bf

Browse files
committed
chore(pytest_plugin,tests) ruff fixes
Fixed 2 errors: - src/libvcs/pytest_plugin.py: 1 × RET504 (unnecessary-assign) - tests/sync/test_svn.py: 1 × COM812 (missing-trailing-comma)
1 parent 3e4d41e commit c0096bf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/libvcs/pytest_plugin.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -509,8 +509,7 @@ def svn_remote_repo(
509509
create_svn_remote_repo: CreateRepoPytestFixtureFn,
510510
) -> pathlib.Path:
511511
"""Pre-made. Local file:// based SVN server."""
512-
repo_path = create_svn_remote_repo()
513-
return repo_path
512+
return create_svn_remote_repo()
514513

515514

516515
@pytest.fixture(scope="session")

tests/sync/test_svn.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ def test_svn_sync(tmp_path: pathlib.Path, svn_remote_repo: pathlib.Path) -> None
3131

3232

3333
def test_svn_sync_with_files(
34-
tmp_path: pathlib.Path, svn_remote_repo_with_files: pathlib.Path
34+
tmp_path: pathlib.Path,
35+
svn_remote_repo_with_files: pathlib.Path,
3536
) -> None:
3637
"""Tests for SvnSync."""
3738
repo_name = "my_svn_project"

0 commit comments

Comments
 (0)