-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Fix validation error type RT01
and check in CI
#25356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I would like to work on this. But I have a doubt. What should I return so that the error gets fixed? |
@souvik3333 : You should add a section describing what the function / method returns. Here are some examples that you can follow: |
I could take this issue if nobody is working on it. |
Except errors in accessor.py, op.py and some errors in resample.py, frame.py
@gfyoung In the docstring of itertuples function, it is explained that it yields namedtuples but it seems to return an iterator of namedtuples. This causes a validation error RT01. Other iter* functions seems to yield rather than return. Should I change yield to return in the docstring? |
Yes, do correct the docstring section for |
Problem description
In order to have a continuous check by the CI on validation error
RT01
(No Returns section found), fixing them in the code base enables the addition to the CI for automated testing in the future.Please see overview of the errors.
Todo:
code_check.sh
script to take into account theRT01
type of errorsThe text was updated successfully, but these errors were encountered: