Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def setup(app):
try:
from nbsite.paramdoc import param_formatter
app.connect('autodoc-process-docstring', param_formatter)
except ImportError:
print('no param_formatter (no param?)')
#try:
# import runipy # noqa (Warning import)
nbbuild.setup(app)
#except:
def setup(app):
try:
from nbsite.paramdoc import param_formatter, param_skip
app.connect('autodoc-process-docstring', param_formatter)
app.connect('autodoc-skip-member', param_skip)
except ImportError:
print('no param_formatter (no param?)')
nbbuild.setup(app)