浏览代码

fix mypy complaints

Thomas Waldmann 1 年之前
父节点
当前提交
e1fbd7d42e
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/borg/testsuite/conftest.py

+ 2 - 2
src/borg/testsuite/conftest.py

@@ -1,5 +1,5 @@
 import os
-from typing import Optional
+from typing import Optional, List
 
 import pytest
 
@@ -89,7 +89,7 @@ def set_env_variables():
 class ArchiverSetup:
     EXE: str = None  # python source based
     FORK_DEFAULT = False
-    BORG_EXES = []
+    BORG_EXES: List[str] = []
 
     def __init__(self):
         self.archiver = None