瀏覽代碼

replace double quotes with single quotes

Isaac 2 年之前
父節點
當前提交
59a6ce1462
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      borgmatic/commands/completion.py

+ 3 - 3
borgmatic/commands/completion.py

@@ -86,8 +86,8 @@ def has_required_param_options(action: Action):
         action.required is True
         or action.nargs
         in (
-            "+",
-            "*",
+            '+',
+            '*',
         )
         or '--archive' in action.option_strings
         or action.metavar in ('PATTERN', 'KEYS', 'N')
@@ -130,7 +130,7 @@ def exact_options_completion(action: Action):
 
 
 def dedent_strip_as_tuple(string: str):
-    return (dedent(string).strip("\n"),)
+    return (dedent(string).strip('\n'),)
 
 
 def fish_completion():