Skip to content

Commit

Permalink
Fix new codespell issues (HDFGroup#2521)
Browse files Browse the repository at this point in the history
* Fix new codespell issues

* Have codespell ignore ./config/sanitizer/sanitizers.cmake
  • Loading branch information
mkitti authored and brtnfld committed May 17, 2023
1 parent 713aa31 commit 1122570
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ jobs:
- uses: actions/checkout@v3
- uses: codespell-project/actions-codespell@master
with:
skip: ./bin/trace,./hl/tools/h5watch/h5watch.c,./tools/test/h5jam/tellub.c,./config/sanitizer/LICENSE,./tools/test/h5repack/testfiles/*.dat
skip: ./bin/trace,./hl/tools/h5watch/h5watch.c,./tools/test/h5jam/tellub.c,./config/sanitizer/LICENSE,./config/sanitizer/sanitizers.cmake,./tools/test/h5repack/testfiles/*.dat
ignore_words_list: isnt,inout,nd,parms,parm,ba,offsetP,ser,ois,had,fiter,fo,clude,refere,minnum,offsetp,creat,ans:,eiter,lastr,ans,isn't,ifset,sur,trun,dne,tthe,hda,filname,te,htmp,minnum,ake,gord,numer,ro,oce,msdos
2 changes: 1 addition & 1 deletion config/toolchain/aarch64.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ set(TOOLCHAIN_PREFIX aarch64-linux-gnu)
set(ANDROID_NDK /opt/android-ndk-linux)
set (CMAKE_SYSTEM_NAME Android)
set (CMAKE_ANDROID_ARCH_ABI x86_64)
#set (CMAKE_ANDROID_STANDALONE_TOOLCHAIN ${ANDROID_NDK}/build/cmake/andriod.toolchain.cmake)
#set (CMAKE_ANDROID_STANDALONE_TOOLCHAIN ${ANDROID_NDK}/build/cmake/android.toolchain.cmake)
set (CMAKE_C_COMPILER ${TOOLCHAIN_PREFIX}-gcc)
set (CMAKE_CXX_COMPILER ${TOOLCHAIN_PREFIX}-g++)
#set (CMAKE_RC_COMPILER ${TOOLCHAIN_PREFIX}-windres)
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2332,7 +2332,7 @@ AC_ARG_ENABLE([optimization],
details.
Alternatively, optimization options can
be specified directly by specifying them as a
string value. These custom optimzation flags will
string value. These custom optimization flags will
completely replace all other optimization flags.
[default depends on build mode: debug=debug,
production=high, clean=none]
Expand Down
2 changes: 1 addition & 1 deletion doxygen/dox/LearnBasics2.dox
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,7 @@ can be used to obtain information about the selection.</li>
The dataset with the region references was read by #H5Dread with the #H5T_STD_REF_DSETREG datatype specified.

The read reference can be used to obtain the dataset identifier by calling #H5Rdereference or by obtaining
obtain spacial information (dataspace and selection) with the call to #H5Rget_region.
obtain spatial information (dataspace and selection) with the call to #H5Rget_region.

The reference to the dataset region has information for both the dataset itself and its selection. In both functions:
\li The first parameter is an identifier of the dataset with the region references.
Expand Down
2 changes: 1 addition & 1 deletion doxygen/examples/FileFormat.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<li><h3><u>Document's Audience:</u></h3>

<ul>
<li>Current H5 library designers and knowledgable external developers.</li>
<li>Current H5 library designers and knowledgeable external developers.</li>
</ul>

</li><li><h3><u>Background Reading:</u></h3>
Expand Down
2 changes: 1 addition & 1 deletion doxygen/examples/IOFlow.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<li><h3><u>Document's Audience:</u></h3>

<ul>
<li>Current H5 library designers and knowledgable external developers.</li>
<li>Current H5 library designers and knowledgeable external developers.</li>
</ul>

</li><li><h3><u>Background Reading:</u></h3>
Expand Down
2 changes: 1 addition & 1 deletion fortran/src/H5Pf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1755,7 +1755,7 @@ h5pset_filter_c(hid_t_f *prp_id, int_f *filter, int_f *flags, size_t_f *cd_nelmt
* INPUTS
* prp_id - property list identifier
* OUTPUTS
* nfilters - number of filters defined in the filter pipline
* nfilters - number of filters defined in the filter pipeline
* RETURNS
* 0 on success, -1 on failure
* AUTHOR
Expand Down
2 changes: 1 addition & 1 deletion fortran/test/tH5O_F03.F90
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ SUBROUTINE test_obj_visit(total_error)
! Construct "interesting" file to visit
CALL build_visit_file(fid)

! Inialize udata for testing purposes
! Initialize udata for testing purposes
udata%info(1)%path(1:1) ="."
udata%info(1)%type_obj = H5O_TYPE_GROUP_F
udata%info(2)%path(1:12) = &
Expand Down
2 changes: 1 addition & 1 deletion src/H5FScache.c
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ H5FS__cache_hdr_pre_serialize(H5F_t *f, void *_thing, haddr_t addr, size_t H5_AT
*
* H5F_addr_defined(fspace->addr)
*
* will both be TRUE. If this contition does not hold, then
* will both be TRUE. If this condition does not hold, then
* either the free space info is not persistent
* (!H5F_addr_defined(fspace->addr)???) or the section info
* contains no free space data that must be written to file
Expand Down
2 changes: 1 addition & 1 deletion src/H5PLpath.c
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@ H5PL__find_plugin_in_path_table(const H5PL_search_params_t *search_params, hbool
/*-------------------------------------------------------------------------
* Function: H5PL__find_plugin_in_path
*
* Purpose: Given a path, this function opens the directory and envokes
* Purpose: Given a path, this function opens the directory and invokes
* another function to go through all files to find the right
* plugin library. Two function definitions are for Unix and
* Windows.
Expand Down
2 changes: 1 addition & 1 deletion src/H5S.c
Original file line number Diff line number Diff line change
Expand Up @@ -1609,7 +1609,7 @@ H5S_decode(const unsigned char **p)
{
H5F_t *f = NULL; /* Fake file structure*/
H5S_t *ds; /* Decoded dataspace */
H5S_extent_t *extent; /* Entent of decoded dataspace */
H5S_extent_t *extent; /* Extent of decoded dataspace */
const unsigned char *pp = (*p); /* Local pointer for decoding */
size_t extent_size; /* size of the extent message*/
uint8_t sizeof_size; /* 'Size of sizes' for file */
Expand Down
2 changes: 1 addition & 1 deletion testpar/t_bigio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1858,7 +1858,7 @@ main(int argc, char **argv)
/* Having set the bigio handling to a size that is manageable,
* we'll set our 'bigcount' variable to be 2X that limit so
* that we try to ensure that our bigio handling is actually
* envoked and tested.
* invoked and tested.
*/
if (newsize != oldsize)
bigcount = newsize * 2;
Expand Down

0 comments on commit 1122570

Please sign in to comment.