-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Added a check for standard documentation #33592
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
Changes from all commits
7586ee5
0e13061
6b6180c
692f8eb
5102a97
2a7b85a
190fa65
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -237,6 +237,14 @@ if [[ -z "$CHECK" || "$CHECK" == "patterns" ]]; then | |
invgrep -RI --exclude=\*.{svg,c,cpp,html,js} --exclude-dir=env "\s$" * | ||
RET=$(($RET + $?)) ; echo $MSG "DONE" | ||
unset INVGREP_APPEND | ||
|
||
MSG = 'Check files that in pandas/doc/source that use standardized documentation' ; echo $MSG | ||
for entry in $(find ../doc/source/ -type f) | ||
do | ||
if grep -q Pandas "$entry" || grep -q *pandas* "$entry" ; then | ||
echo "$entry" | ||
fi | ||
done | ||
fi | ||
|
||
### CODE ### | ||
|
@@ -378,4 +386,4 @@ if [[ -z "$CHECK" || "$CHECK" == "typing" ]]; then | |
fi | ||
|
||
|
||
exit $RET | ||
exit $RET | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. think you need a newline here There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry I'm not too sure what you mean, I'm new to this. Do you want me to add a new line after done? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
yes please There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have added a new line after done as requested! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @willie3838 think you added the new line in the wrong spot. Should come at the end of this line not preceding There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I have added your solution, let me know if it still does not resolve the issue. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There needs to be a newline at the end of this file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think instead of the
for
we can use theinvgrep
pattern like the check above this.