summaryrefslogtreecommitdiff
path: root/gitlab/cli.py
diff options
context:
space:
mode:
authorNejc Habjan <nejc.habjan@siemens.com>2022-01-22 20:11:18 +0100
committerJohn Villalovos <john@sodarock.com>2022-01-23 07:14:49 -0800
commit019a40f840da30c74c1e74522a7707915061c756 (patch)
tree84806a6a03d027f8bea087ba752132c907f737c7 /gitlab/cli.py
parentae2a015db1017d3bf9b5f1c5893727da9b0c937f (diff)
downloadgitlab-019a40f840da30c74c1e74522a7707915061c756.tar.gz
style: use literals to declare data structures
Diffstat (limited to 'gitlab/cli.py')
-rw-r--r--gitlab/cli.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gitlab/cli.py b/gitlab/cli.py
index a48b53b..b9a7574 100644
--- a/gitlab/cli.py
+++ b/gitlab/cli.py
@@ -52,8 +52,8 @@ __F = TypeVar("__F", bound=Callable[..., Any])
def register_custom_action(
cls_names: Union[str, Tuple[str, ...]],
- mandatory: Tuple[str, ...] = tuple(),
- optional: Tuple[str, ...] = tuple(),
+ mandatory: Tuple[str, ...] = (),
+ optional: Tuple[str, ...] = (),
custom_action: Optional[str] = None,
) -> Callable[[__F], __F]:
def wrap(f: __F) -> __F: