Ver Fonte

Satisfy pydoctor

Jelmer Vernooij há 1 mês atrás
pai
commit
ff90c2570b
2 ficheiros alterados com 3 adições e 3 exclusões
  1. 1 1
      Makefile
  2. 2 2
      dulwich/porcelain.py

+ 1 - 1
Makefile

@@ -63,7 +63,7 @@ coverage-html: coverage
 .PHONY: apidocs
 
 apidocs:
-	pydoctor --intersphinx http://urllib3.readthedocs.org/en/latest/objects.inv --intersphinx http://docs.python.org/3/objects.inv --docformat=google dulwich --project-url=https://www.dulwich.io/ --project-name=dulwich
+	$(PYTHON) -m pydoctor --intersphinx http://urllib3.readthedocs.org/en/latest/objects.inv --intersphinx http://docs.python.org/3/objects.inv --docformat=google dulwich --project-url=https://www.dulwich.io/ --project-name=dulwich
 
 fix:
 	ruff check --fix .

+ 2 - 2
dulwich/porcelain.py

@@ -3016,7 +3016,7 @@ def merge_tree(repo, base_tree, our_tree, their_tree):
       their_tree: Tree-ish of their side of the merge
 
     Returns:
-      Tuple of (merged_tree_id, conflicts) where:
+      tuple: A tuple of (merged_tree_id, conflicts) where:
         - merged_tree_id is the SHA-1 of the merged tree
         - conflicts is a list of paths (as bytes) that had conflicts
 
@@ -3054,7 +3054,7 @@ def cherry_pick(
       repo: Repository to cherry-pick into
       committish: Commit to cherry-pick
       no_commit: If True, do not create a commit after applying changes
-      continue_: Continue an in-progress cherry-pick after resolving conflicts
+      continue\\_: Continue an in-progress cherry-pick after resolving conflicts
       abort: Abort an in-progress cherry-pick
 
     Returns: