-
-
Notifications
You must be signed in to change notification settings - Fork 267
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
Fixed Spelling Errors #1166
Fixed Spelling Errors #1166
Conversation
…debug rw debugging
test/dt_arith.c
Outdated
@@ -3326,7 +3326,7 @@ test_conv_flt_1(const char *name, int run_test, hid_t src, hid_t dst) | |||
HDputs(" maximum failures reached, aborting test..."); | |||
else if (run_test == TEST_DENORM || run_test == TEST_SPECIAL) | |||
HDputs(" maximum warnings reached, aborting test..."); | |||
HDputs(" (dst is library's conversion output. ans is compiler's conversion output.)"); | |||
HDputs(" (dst is library's conversion output. and is compiler's conversion output.)"); |
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.
still needs fixed
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.
Still some fixes needed
Can you be more specific? |
test/dt_arith.c - did all the "ans" to "and" issues get fixed? Sorry, but I can't seem to discover that in the changes view. |
yes
I reverted the change, it is still FILNAME.
|
@lrknox What is remaining for this PR? I would rather not have to keep syncing this branch. |
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 finally got the correct view of the files - looks better
@@ -1484,7 +1484,7 @@ H5C_insert_entry(H5F_t *f, const H5C_class_t *type, haddr_t addr, void *thing, u | |||
* Finally, we usually don't check to see if the cache is | |||
* oversized at the end of an unprotect. As a result, it is | |||
* possible to have a vastly oversized cache with no protected | |||
* entries as long as all the protects preceed the unprotects. | |||
* entries as long as all the protects proceed the unprotects. |
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.
This should be precede
@@ -2444,7 +2444,7 @@ H5C_protect(H5F_t *f, const H5C_class_t *type, haddr_t addr, void *udata, unsign | |||
* Finally, we usually don't check to see if the cache is | |||
* oversized at the end of an unprotect. As a result, it is | |||
* possible to have a vastly oversized cache with no protected | |||
* entries as long as all the protects preceed the unprotects. | |||
* entries as long as all the protects proceed the unprotects. |
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.
precede
fortran/test/tH5A_1_8.F90
Outdated
@@ -777,7 +777,7 @@ SUBROUTINE test_attr_info_by_idx(new_format, fcpl, fapl, total_error) | |||
INTEGER :: Input1 | |||
INTEGER(HSIZE_T) :: hzero = 0_HSIZE_T | |||
INTEGER :: minusone = -1 | |||
INTEGER(HSIZE_T) :: htmp | |||
INTEGER(HSIZE_T) :: html |
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.
This is not a typo. htmp is "temporary h", not HTML. Maybe rename it h_temp?
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.
Or htemp
.github/workflows/codespell.yml
Outdated
- uses: codespell-project/actions-codespell@master | ||
with: | ||
skip: ./bin/trace,./hl/tools/h5watch/h5watch.c,./tools/test/h5jam/tellub.c | ||
ignore_words_list: isnt,inout,nd,parms,parm,ba,offsetP,ser,ois,had,fiter,fo,clude,refere,minnum,offsetp,creat,ans:,eiter,lastr,minum,ans,isn't,ifset,sur,trun,dne,tthe,hda,filname,te,htmp |
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'm not a fan of running this automatically. There were several instances of the spell checker making mistakes in this PR, some of which were in actual code and not comments.
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 disagree, the false positives are relatively low. It should be checked as part of the PR, if it becomes a major issue then we can revisit it.
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.
FWIW the action doesn't do anything (like fix things) by default aside from fail if it finds typos. I run it on a number of repos and it doesn't often flag new false positives and when it does it's easy enough to add them to the ignore or skip lists as appropriate.
* Revert "Revert H5Dchunk_iter changes in hdf5_1_12_1 (#733)" This reverts commit 10abe9a. * Apply clang-format * Reincorporate spelling fix from #1166 * Incorporate H5Dchunk_iter changes from #161 * Backport to 1.12: Adds a quick for for some egregious chunk_info badness (#722) * Backport to 1.12: Converts testhdf5 macros to h5test macros in chunk_info.c (#1820) The two macro schemes were not designed to work together. Also quiets some MSVC warnings about comparing pointers and integers. * Backport to 1.12: H5Dchunk_iter now passes offsets in units of dataset elements, fix #1419 (#1969) * H5Dchunk_iter now passes chunk dimension scaled offsets, fix #1419 * Update docs for H5Dchunk_iter, H5Dget_chunk_info* Modified description for `H5Dchunk_iter`, `H5Dget_chunk_info`, and `H5Dget_chunk_info_by_coord` to the following * offset Logical position of the chunk’s first element in units of dataset elements * filter_mask Bitmask indicating the filters used when the chunk was written * size Chunk size in bytes, 0 if the chunk does not exist * Sync H5Dchunk_iter documentation with develop * Remove H5VL_DATASET_WAIT references from 1.12 * Backport to 1.12 #161, #1474, review comments Co-authored-by: Dana Robinson <43805+derobins@users.noreply.github.com>
Fixed all spelling errors caught with codespell, added new spell checker to github actions to detect spelling errors.