You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure what I'd expect velin to do here but just pointing out that it doesn't currently recognize the returns as a section in this docstring, instead treating it as another parameter. I suppose there is a fundamental ambiguity here unfortunately, so it may not be fixable, but perhaps should be flagged?
deff(blarg):
""" Parameters ---------- blarg : bool some description returns ------- init_val, control """pass
gives this output:
(mpl-inter) ian@fermented-beans:~/Documents/jupyter/mpl-interactions$ velin v_test.py
~/mambaforge/envs/mpl-inter/lib/python3.9/site-packages/velin/ref.py:513 in | v_test.py:f
~/mambaforge/envs/mpl-inter/lib/python3.9/site-packages/velin/ref.py:514 in | missing: set()
~/mambaforge/envs/mpl-inter/lib/python3.9/site-packages/velin/ref.py:515 in | extra: {'-------', 'returns', 'init_val', 'control'}
~/mambaforge/envs/mpl-inter/lib/python3.9/site-packages/velin/ref.py:513 in | v_test.py:f
~/mambaforge/envs/mpl-inter/lib/python3.9/site-packages/velin/ref.py:514 in | missing: set()
~/mambaforge/envs/mpl-inter/lib/python3.9/site-packages/velin/ref.py:515 in | extra: {'-------', 'returns', 'init_val', 'control'}
The text was updated successfully, but these errors were encountered:
I'm not sure what I'd expect velin to do here but just pointing out that it doesn't currently recognize the
returns
as a section in this docstring, instead treating it as another parameter. I suppose there is a fundamental ambiguity here unfortunately, so it may not be fixable, but perhaps should be flagged?gives this output:
The text was updated successfully, but these errors were encountered: