Browse Source

replace double quotes with single quotes

Isaac 2 years ago
parent
commit
59a6ce1462
1 changed files with 3 additions and 3 deletions
  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
         action.required is True
         or action.nargs
         or action.nargs
         in (
         in (
-            "+",
-            "*",
+            '+',
+            '*',
         )
         )
         or '--archive' in action.option_strings
         or '--archive' in action.option_strings
         or action.metavar in ('PATTERN', 'KEYS', 'N')
         or action.metavar in ('PATTERN', 'KEYS', 'N')
@@ -130,7 +130,7 @@ def exact_options_completion(action: Action):
 
 
 
 
 def dedent_strip_as_tuple(string: str):
 def dedent_strip_as_tuple(string: str):
-    return (dedent(string).strip("\n"),)
+    return (dedent(string).strip('\n'),)
 
 
 
 
 def fish_completion():
 def fish_completion():