8000 py(lint[svn_remote_repo_single_commit_post_init]) Fix typings for myp… · vcs-python/libvcs@0b885cd · GitHub
[go: up one dir, main page]

Skip to content

Commit 0b885cd

Browse files
committed
py(lint[svn_remote_repo_single_commit_post_init]) Fix typings for mypy 1.16
Run uv run mypy . src/libvcs/pytest_plugin.py:819: error: Argument "remote_repo_post_init" to "__call__" of "CreateRepoPytestFixtureFn" has incompatible type "Callable[[Path], None]"; expected "CreateRepoPostInitFn | None" [arg-type] Found 1 error in 1 file (checked 51 source files) See also: https://mypy.readthedocs.io/en/stable/changelog.html#mypy-1-16
1 parent 44c00cd commit 0b885cd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/libvcs/pytest_plugin.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,10 @@ def _create_svn_remote_repo(
493493
return remote_repo_path
494494

495495

496-
def svn_remote_repo_single_commit_post_init(remote_repo_path: pathlib.Path) -> None:
496+
def svn_remote_repo_single_commit_post_init(
497+
remote_repo_path: pathlib.Path,
498+
env: _ENV | None = None,
499+
) -> None:
497500
"""Post-initialization: Create a test SVN repo with a single commit."""
498501
assert remote_repo_path.exists()
499502
repo_dumpfile = pathlib.Path(__file__).parent / "data" / "repotest.dump"

0 commit comments

Comments
 (0)
0