Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0b885cd

Browse filesBrowse 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
Copy full SHA for 0b885cd

File tree

Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed

‎src/libvcs/pytest_plugin.py

Copy file name to clipboardExpand all lines: src/libvcs/pytest_plugin.py
+4-1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.