-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: Validating that the word pandas is correctly capitalized #32613
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 1 commit
591cdc6
4665b01
019544a
0fbdf48
927dedb
eab7226
e56d395
cc3f3eb
4d0eef6
cb41651
51f114b
aa71c21
a7dd3ea
f10ec59
6a8aca9
c166013
a6c610d
8305a85
98a2aa3
f148cb7
cbd1103
1357114
f303665
af0c878
d8d1dc9
49bc8d8
8c73b5f
6daedb0
b332532
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 | ||||
---|---|---|---|---|---|---|
|
@@ -80,6 +80,13 @@ if [[ -z "$CHECK" || "$CHECK" == "lint" ]]; then | |||||
flake8-rst doc/source --filename=*.rst --format="$FLAKE8_FORMAT" | ||||||
RET=$(($RET + $?)) ; echo $MSG "DONE" | ||||||
|
||||||
# Check if pandas is referenced as pandas, not *pandas* or Pandas | ||||||
MSG='Checking if pandas reference is standardized or not' ; echo $MSG | ||||||
grep -nr '*pandas*|Pandas' doc/* | ||||||
grep -nr '*pandas*|Pandas' web/* | ||||||
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 guess the next code works. You can't have two statements, since you are checking the exit code later, and you're only checking the code of the last statement.
Suggested change
Also, please use |
||||||
RET=$(($RET + $?)) ; echo $MSG "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. Don't leave extra blank lines, keep the same style and formatting as the rest of the script. |
||||||
# Check that cython casting is of the form `<type>obj` as opposed to `<type> obj`; | ||||||
# it doesn't make a difference, but we want to be internally consistent. | ||||||
# Note: this grep pattern is (intended to be) equivalent to the python | ||||||
|
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.