Skip to content

Commit b563cdc

Browse files
Merge pull request #1442 from python-gitlab/chore/fix-readthedocs
chore(docs): fix import order for readthedocs build
2 parents e46cacf + c3de1fb commit b563cdc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/conf.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@
1818
import os
1919
import sys
2020

21-
import gitlab
22-
2321
sys.path.append("../")
2422
sys.path.append(os.path.dirname(__file__))
23+
import gitlab # noqa: E402. Needed purely for readthedocs' build
2524

2625
on_rtd = os.environ.get("READTHEDOCS", None) == "True"
2726

0 commit comments

Comments
 (0)