浏览代码

single-line docstring on one line

(fixing ruff error)
Marnanel Thurman 1 月之前
父节点
当前提交
5388835256
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      dulwich/repo.py

+ 1 - 3
dulwich/repo.py

@@ -1845,9 +1845,7 @@ class MemoryRepo(BaseRepo):
     """
 
     def __init__(self) -> None:
-        """
-        Create a new repository in memory.
-        """
+        "Create a new repository in memory."
         from .config import ConfigFile
 
         self._reflog: list[Any] = []