Skip to content

Commit

Permalink
Automated format fixes (autopep8 + isort)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroCN7 authored and github-actions[bot] committed Sep 18, 2024
1 parent 5626aa8 commit a45af0a
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,18 @@
# 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 sinergym.utils.logger
import os
import sys
from unittest.mock import MagicMock

sys.path.insert(0, os.path.abspath('../../sinergym'))


class WandBOutputFormatMock(MagicMock):
pass

import sinergym.utils.logger

sinergym.utils.logger.WandBOutputFormat = WandBOutputFormatMock

# -- Project information -----------------------------------------------------
Expand Down Expand Up @@ -46,11 +49,11 @@ class WandBOutputFormatMock(MagicMock):
'nbsphinx',
'nbsphinx_link']

autodoc_mock_imports = ['stable_baselines3',
'gym',
'opyplus',
'gcloud',
'google.cloud',
autodoc_mock_imports = ['stable_baselines3',
'gym',
'opyplus',
'gcloud',
'google.cloud',
'pyenergyplus']

nbsphinx_custom_formats = {}
Expand Down

0 comments on commit a45af0a

Please sign in to comment.