summaryrefslogtreecommitdiff
path: root/docs/ext/docstrings.py
diff options
context:
space:
mode:
authorJohn L. Villalovos <john@sodarock.com>2021-04-29 08:21:50 -0700
committerJohn L. Villalovos <john@sodarock.com>2021-04-30 07:07:17 -0700
commitab343ef6da708746aa08a972b461a5e51d898f8b (patch)
tree98eabab08089a21386e4e56a1fe8fd6ff90af52d /docs/ext/docstrings.py
parent98891eb2c52051134fd3046a4ef5d7b0a6af8fec (diff)
downloadgitlab-ab343ef6da708746aa08a972b461a5e51d898f8b.tar.gz
chore: have flake8 check the entire project
Have flake8 run at the top-level of the projects instead of just the gitlab directory.
Diffstat (limited to 'docs/ext/docstrings.py')
-rw-r--r--docs/ext/docstrings.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/docs/ext/docstrings.py b/docs/ext/docstrings.py
index 754da27..fc1c10b 100644
--- a/docs/ext/docstrings.py
+++ b/docs/ext/docstrings.py
@@ -1,5 +1,4 @@
import inspect
-import itertools
import os
import jinja2
@@ -14,7 +13,6 @@ def classref(value, short=True):
if not inspect.isclass(value):
return ":class:%s" % value
tilde = "~" if short else ""
- string = "%s.%s" % (value.__module__, value.__name__)
return ":class:`%sgitlab.objects.%s`" % (tilde, value.__name__)