From 1f9a3ff735bd8b70b5aba209a50eb4a287966b53 Mon Sep 17 00:00:00 2001 From: Ghislain Vieilledent Date: Wed, 29 May 2024 13:55:54 +1100 Subject: [PATCH] Comment sys.path.insert in conf.py If uncommented, led to an erro: cannot import name 'hbm' from partially initialized module 'forestatrisk' (most likely due to a circular import) (/home/runner/work/forestatrisk/forestatrisk/forestatrisk/__init__.py). --- docsrc/conf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docsrc/conf.py b/docsrc/conf.py index be78271..b382393 100644 --- a/docsrc/conf.py +++ b/docsrc/conf.py @@ -10,11 +10,11 @@ # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. # -import os -import sys +# import os +# import sys import datetime import re # Regular expression -sys.path.insert(0, os.path.abspath('..')) +# sys.path.insert(0, os.path.abspath('..')) # -- Project information -----------------------------------------------------