We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2438fa8 commit dabf0c2Copy full SHA for dabf0c2
docs/source/conf.py
@@ -19,13 +19,13 @@
19
sys.path.insert(0, os.path.abspath("../.."))
20
21
22
- class Mock(MagicMock):
23
- @classmethod
24
- def __getattr__(cls, name):
25
- return Mock()
+class Mock(MagicMock):
+ @classmethod
+ def __getattr__(cls, name):
+ return Mock()
26
27
- MOCK_MODULES = [ 'emd']
28
- sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
+MOCK_MODULES = [ 'emd']
+sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
29
30
# If extensions (or modules to document with autodoc) are in another directory,
31
# add these directories to sys.path here. If the directory is relative to the
0 commit comments