summaryrefslogtreecommitdiff
path: root/gitlab/cli.py
diff options
context:
space:
mode:
authorThomas de Grenier de Latour <thomas.degrenierdelatour@orange.com>2022-01-25 23:18:05 +0100
committerThomas de Grenier de Latour <thomas.degrenierdelatour@orange.com>2022-01-25 23:18:05 +0100
commitd493a5e8685018daa69c92e5942cbe763e5dac62 (patch)
treed5276a6e6c3b027ea619926919e7e6dade199743 /gitlab/cli.py
parentbbb7df526f4375c438be97d8cfa0d9ea9d604e7d (diff)
downloadgitlab-d493a5e8685018daa69c92e5942cbe763e5dac62.tar.gz
fix(cli): make 'per_page' and 'page' type explicit
Diffstat (limited to 'gitlab/cli.py')
-rw-r--r--gitlab/cli.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gitlab/cli.py b/gitlab/cli.py
index 4bca0bf..f06f49d 100644
--- a/gitlab/cli.py
+++ b/gitlab/cli.py
@@ -197,6 +197,7 @@ def _get_base_parser(add_help: bool = True) -> argparse.ArgumentParser:
"[env var: GITLAB_PER_PAGE]"
),
required=False,
+ type=int,
default=os.getenv("GITLAB_PER_PAGE"),
)
parser.add_argument(