From ebf8376bd44239c15ce19369ef6d90b4b1ed25b6 Mon Sep 17 00:00:00 2001 From: Richard Date: Tue, 21 Sep 2021 14:48:41 +0100 Subject: [PATCH] Formatting fixes --- docs/source/conf.py | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index b6a99eff..056851ff 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -20,12 +20,16 @@ if os.system("git lfs env > /dev/null") == 0: os.system("git lfs fetch") os.system("git lfs checkout") else: - print("Warning: it seems git lfs is not installed. Bodging our way around the problem to retrieve images...") - os.system('wget https://github.com/git-lfs/git-lfs/releases/download/v2.7.1/git-lfs-linux-amd64-v2.7.1.tar.gz') - os.system('tar xvfz git-lfs-linux-amd64-v2.7.1.tar.gz') - os.system('./git-lfs install') # make lfs available in current repository - os.system('./git-lfs fetch') # download content from remote - os.system('./git-lfs checkout') # make local files to have the real content on them + print( + "Warning: it seems git lfs is not installed. Bodging our way around the problem to retrieve images..." + ) + os.system( + "wget https://github.com/git-lfs/git-lfs/releases/download/v2.7.1/git-lfs-linux-amd64-v2.7.1.tar.gz" + ) + os.system("tar xvfz git-lfs-linux-amd64-v2.7.1.tar.gz") + os.system("./git-lfs install") # make lfs available in current repository + os.system("./git-lfs fetch") # download content from remote + os.system("./git-lfs checkout") # make local files to have the real content on them # Load module from relative imports by modifying the path @@ -47,15 +51,15 @@ class Mock(MagicMock): mock_imports = [ - "picamerax", - "picamerax.array", - "picamerax.mmalobj", - "numpy", - "labthings", + "picamerax", + "picamerax.array", + "picamerax.mmalobj", + "numpy", + "labthings", "labthings.json", - "expiringdict", - "dateutil", - "dateutil.parser", + "expiringdict", + "dateutil", + "dateutil.parser", "typing_extensions", "PIL", "sangaboard",