summaryrefslogtreecommitdiff
path: root/gitlab/cli.py
diff options
context:
space:
mode:
authorJohn L. Villalovos <john@sodarock.com>2021-04-17 14:59:35 -0700
committerJohn L. Villalovos <john@sodarock.com>2021-04-18 08:26:07 -0700
commit40f4ab20ba0903abd3d5c6844fc626eb264b9a6a (patch)
treeb4b8ca325f0e96a2d07c0bf0b3e99153ef7f4f56 /gitlab/cli.py
parentff21eb664871904137e6df18308b6e90290ad490 (diff)
downloadgitlab-40f4ab20ba0903abd3d5c6844fc626eb264b9a6a.tar.gz
chore: fix F841 errors reported by flake8
Local variable name is assigned to but never used https://www.flake8rules.com/rules/F841.html
Diffstat (limited to 'gitlab/cli.py')
-rw-r--r--gitlab/cli.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/gitlab/cli.py b/gitlab/cli.py
index ce50406..0a97ed7 100644
--- a/gitlab/cli.py
+++ b/gitlab/cli.py
@@ -162,7 +162,6 @@ def docs() -> argparse.ArgumentParser:
if "sphinx" not in sys.modules:
sys.exit("Docs parser is only intended for build_sphinx")
- parser = _get_base_parser(add_help=False)
# NOTE: We must delay import of gitlab.v4.cli until now or
# otherwise it will cause circular import errors
import gitlab.v4.cli